Conversation
|
@bmahjour we are aware of this. The reason you are seeing these error is probably because you are building against an older version of LLVM, older than the v22 that we are using as a current default, see this issue
If there is some reason you can afford to change version, then may I suggest you follow the build instructions provided in the README. We have multiple options including building with official llvm wheels |
|
Yes, I noticed the difference in LLVM versions @fabianlim. I made one last attempt to see if we can resolve the dependencies indirectly through libs that work for both v20 and v22, but that doesn't seem to work either, so I'll revert all my cmake changes. Please note that this PR also fixes one of the LIT tests. Isn't that test failing in master when built against LLVM v22? |
Oh interesting. Do you know which lit test you are referring to? According to what I see here I have 17 tests and all are passing. If you are referring to the test with the ordering issue in that CHECK, then I know that one is passing in v22 |
Interestingly construct-indirect-access-tile.mlir is passing even though it expects the add operands of I tried building with LLVM v22.1 Could you be more specific about the version of llvm you are building (ie what commit level)? |
@bmahjour I am using the official llvm wheels, as seen from the uv.lock the short hash is
This is from Claude This is what I get when I ran the problematic command. The commit you are using is from Feb. Actually now looking at it from
Looking at the release tags, I think yours is the official release, mine is a post-release commit on the main branch |
|
@bmahjour just to follow up on your previous comment
I triggered a build on the above commit I will try running your command next Update: hmm yes it seems to work for me build/bin/ktir-opt test/Ktdp/basic.mlir |
7609d76 to
ab3fd0d
Compare
Thanks for trying @fabianlim. I think the issue may be hidden depending on linker behavior. Please see #9 for follow up on this issue. |
|
Regarding investigation from |
This PR fixes a LIT test failure in
Ktdp/construct-indirect-access-tile.mlirbecause it expect theind(...)operands in the wrong order!