[all-commits] [llvm/llvm-project] ac9d74: [MLIR][LLVM] Make index type bitwidth configurable.

Stephan Herhut via All-commits all-commits at lists.llvm.org
Fri Mar 27 04:43:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ac9d742bbe4f7f712f1e221df2a2b76386ec495d
      https://github.com/llvm/llvm-project/commit/ac9d742bbe4f7f712f1e221df2a2b76386ec495d
  Author: Stephan Herhut <herhut at google.com>
  Date:   2020-03-27 (Fri, 27 Mar 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
    M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVMPass.h
    M mlir/lib/Conversion/GPUCommon/IndexIntrinsicsOpLowering.h
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
    M mlir/test/Target/llvmir.mlir

  Log Message:
  -----------
  [MLIR][LLVM] Make index type bitwidth configurable.

This change adds a new option to the StandardToLLVM lowering to configure
the bitwidth of the index type independently of the target architecture's
pointer size.

Differential revision: https://reviews.llvm.org/D76353




More information about the All-commits mailing list