Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

cbalint13
Copy link
Contributor

@cbalint13 cbalint13 commented Oct 16, 2024

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
Contributor Author

Copy link
Contributor

@quic-sanirudh quic-sanirudh left a comment

Choose a reason for hiding this comment

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

Thanks

@cbalint13 cbalint13 merged commit f75b563 into apache:main Oct 17, 2024
18 checks passed
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