[PATCH] D76353: [MLIR][LLVM] Make index type bitwidth configurable.

Stephan Herhut via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 18 04:51:32 PDT 2020


herhut created this revision.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, csigg, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini, arphaman.
Herald added a project: LLVM.
herhut added a reviewer: ftynse.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76353

Files:
  mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
  mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVMPass.h
  mlir/lib/Conversion/GPUCommon/IndexIntrinsicsOpLowering.h
  mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
  mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
  mlir/test/Conversion/StandardToLLVM/convert-dynamic-memref-ops.mlir
  mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir
  mlir/test/Target/llvmir.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76353.251034.patch
Type: text/x-patch
Size: 33952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200318/0310f22f/attachment.bin>


More information about the llvm-commits mailing list