[Mlir-commits] [mlir] [MLIR][Arith] Add ExpandOps to convertArithToLLVM (PR #117305)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Mon Dec 2 10:28:57 PST 2024
================
@@ -503,6 +505,7 @@ struct ArithToLLVMDialectInterface : public ConvertToLLVMPatternInterface {
void populateConvertToLLVMConversionPatterns(
ConversionTarget &target, LLVMTypeConverter &typeConverter,
RewritePatternSet &patterns) const final {
+ arith::populateArithExpandOpsPatterns(patterns);
arith::populateArithToLLVMConversionPatterns(typeConverter, patterns);
}
};
----------------
banach-space wrote:
@nujaa , wouldn't adding this in "ConvertToLLVMPass.cpp" _instead_ also work?
https://github.com/llvm/llvm-project/pull/117305
More information about the Mlir-commits
mailing list