-
Notifications
You must be signed in to change notification settings - Fork 78
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
update test cases to LLVM 12.0 #195
Comments
Run tests and check for mismatchesFrom go test -v ./... Failing golden test casesSearch for
Failing with syntax errorSearch for
|
Notes on how the golden test cases were updated in commit mewpull/testdata@3ccdb27 Update golden test cases
|
Parse errorsThe following test case files require updates to the LLVM IR grammar (for inspiration, see #101 for updating the grammar to LLVM 9.0). For errors like
|
First, update to latest gllvm [1] version. go get github.com/SRI-CSL/gllvm@latest go install github.com/SRI-CSL/gllvm/cmd/...@latest Then, update coreutils test case: cd testdata/coreutils make [1]: https://github.com/SRI-CSL/gllvm Updates llir/llvm#195.
cd testdata/sqlite make Updates llir/llvm#195.
* llvm: update test cases to LLVM 12.0.1 release * llvm: update golden test cases for LLVM 12.0.1 Updates llir/llvm#195. * llvm: update sret parameter attribute syntax to LLVM 12.0 Updates llir/llvm#195. * llvm: update golden test case dimodule.ll.golden to LLVM 12.0 Updates llir/llvm#195. * coreutils: re-generate Coreutils test cases using LLVM 12.0 First, update to latest gllvm [1] version. go get github.com/SRI-CSL/gllvm@latest go install github.com/SRI-CSL/gllvm/cmd/...@latest Then, update coreutils test case: cd testdata/coreutils make [1]: https://github.com/SRI-CSL/gllvm Updates llir/llvm#195. * sqlite: re-generate SQLite test cases using LLVM 12.0 cd testdata/sqlite make Updates llir/llvm#195. * llvm: update golden test case compatibility.ll.golden to LLVM 12.0 Updates #llir/llvm#195. * tools: update Go build tag (use go:build instead of +build prefix) * coreutils: update golden test cases of Coreutils tests
Fixed by PR llir/testdata#9. |
Similar steps taken to those detailed in #132.
Update of llir/testdata/llvm/Makefile:
Update
*.ll
test cases of LLVMcd testdata/llvm make ./skip.sh
git add testdata/llvm/test testdata/llvm/Makefile git commit -m 'llvm: update test cases to LLVM 12.0.1 release'
The text was updated successfully, but these errors were encountered: