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

Hugo Trachino llvmlistbot at llvm.org
Wed Dec 4 01:57:55 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);
   }
 };
----------------
nujaa wrote:

> so was this behavior already implemented in the `convert-to-llvm` flow and you're just catching up?

Neither arith-to-llvm nor convert-to-llvm was not expanding ops. 

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


More information about the Mlir-commits mailing list