[Mlir-commits] [mlir] [MLIR][Arith] Add ExpandOps to convertArithToLLVM (PR #117305)

Mehdi Amini llvmlistbot at llvm.org
Wed Nov 27 12:05:34 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);
   }
 };
----------------
joker-eph wrote:

This pass is kind of deprecated: we're supposed to migrate to `--convert-to-llvm`. 
I'm concerned by additions here that wouldn't carry over to `--convert-to-llvm`!

https://github.com/llvm/llvm-project/pull/117305


More information about the Mlir-commits mailing list