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

Thomas Preud'homme llvmlistbot at llvm.org
Wed Dec 4 02:14:13 PST 2024


RoboTux wrote:

A dependency on MLIRArithTransforms seems to be missing, CI is failing:

/usr/bin/ld: tools/mlir/lib/Conversion/ArithToLLVM/CMakeFiles/obj.MLIRArithToLLVM.dir/ArithToLLVM.cpp.o: in function `(anonymous namespace)::ArithToLLVMDialectInterface::populateConvertToLLVMConversionPatterns(mlir::ConversionTarget&, mlir::LLVMTypeConverter&, mlir::RewritePatternSet&) const':
ArithToLLVM.cpp:(.text._ZNK12_GLOBAL__N_127ArithToLLVMDialectInterface39populateConvertToLLVMConversionPatternsERN4mlir16ConversionTargetERNS1_17LLVMTypeConverterERNS1_17RewritePatternSetE+0x18): undefined reference to `mlir::arith::populateCeilFloorDivExpandOpsPatterns(mlir::RewritePatternSet&)'
/usr/bin/ld: tools/mlir/lib/Conversion/ArithToLLVM/CMakeFiles/obj.MLIRArithToLLVM.dir/ArithToLLVM.cpp.o: in function `(anonymous namespace)::ArithToLLVMConversionPass::runOnOperation()':
ArithToLLVM.cpp:(.text._ZN12_GLOBAL__N_125ArithToLLVMConversionPass14runOnOperationEv+0x10c): undefined reference to `mlir::arith::populateCeilFloorDivExpandOpsPatterns(mlir::RewritePatternSet&)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

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


More information about the Mlir-commits mailing list