Skip to content

[LLVM][Arith] Presburger compile fix for MLIR/LLVM 19.x#17469

Merged
cbalint13 merged 1 commit into
apache:mainfrom
cbalint13:llvm19
Oct 17, 2024
Merged

[LLVM][Arith] Presburger compile fix for MLIR/LLVM 19.x#17469
cbalint13 merged 1 commit into
apache:mainfrom
cbalint13:llvm19

Conversation

@cbalint13

@cbalint13 cbalint13 commented Oct 16, 2024

Copy link
Copy Markdown
Contributor

Compile fixes for the optional mlir presburger module using latest LLVM 19.x branch.

tvm-0.18-build/tvm/src/arith/presburger_set.cc:219:33: error: no member named 'MPInt' in namespace 'mlir::presburger'
  219 |   SmallVector<mlir::presburger::MPInt> coeffs;
      |               ~~~~~~~~~~~~~~~~~~^
tvm-0.18-build/tvm/src/arith/presburger_set.cc:227:40: error: no member named 'MPInt' in namespace 'mlir::presburger'
  227 |     coeffs.push_back(mlir::presburger::MPInt(*as_const_int(it)));
      |                      ~~~~~~~~~~~~~~~~~~^
[ 18%] Building CXX object CMakeFiles/tvm_objs.dir/src/auto_scheduler/feature.cc.o
2 errors generated.

@cbalint13

Copy link
Copy Markdown
Contributor Author

@quic-sanirudh quic-sanirudh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants