Update C++ IR fixtures for LLVM 21 parser#184
Update C++ IR fixtures for LLVM 21 parser#184cjsrxzdyzds wants to merge 3 commits intoSVF-tools:masterfrom
Conversation
|
Thanks for the contribution. It is suggested that we generated bc instead of uploading them. Could you change this part in github action, so bc can be genreated under the corresponding llvm-21 version. Once the test-suite is updated, I could review and merge your pull request at SVF. We may not need an additional llvm21-ci.yml if this test-suite generates the correct bc under llvm-21. |
|
I updated this PR based on your suggestion. the workflow on this branch now installs LLVM 21.1.0 and generates the relevant commits: this should allow SVF PR #1813 to be verified against the updated Test-Suite branch |
|
It
Thanks and @bjjwwang has done this change here 91519b7. It looks to me settled. It would be good to test and update your SVF's llvm-21 pull request so I could merge later |
|
Closing this PR. |
Summary
LLVM 21 rejects several older textual IR forms used by the checked-in C++
.bcfixtures in the SVF Test-Suite.This PR updates those fixtures to LLVM 21-compatible textual IR so the suite runs cleanly on a clean LLVM 21 host.
What changed
test_cases_bc/basic_cpp_tests/*.bcinrangeoperand forms rejected by LLVM 21's IR parserThese are mechanical fixture updates only. No semantic change to the tests is intended.
Validation
Validated together with the corresponding SVF LLVM 21 changes:
1528 / 1528passedCommit
e24103aUpdate C++ IR fixtures for LLVM 21 parser