[PATCH] D76353: [MLIR][LLVM] Make index type bitwidth configurable.
Alex Zinenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 26 08:38:59 PDT 2020
ftynse added inline comments.
================
Comment at: mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h:196
+ /// Bitwidth of the index type.
+ unsigned indexBitwidth;
};
----------------
`customizations` already has it, let's just have getIndexType() access customizations instead and drop the duplicate field. We store the copy of what is passed in the constructor, so we can freely update it with the value derived from the module if necessary.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76353/new/
https://reviews.llvm.org/D76353
More information about the llvm-commits
mailing list