-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Cannot lower "icmp uge <4 x i32> zeroinitializer, ..." for ARMv7 #58514
Comments
|
@llvm/issue-subscribers-backend-arm |
|
The backend is probably assuming that There is a fix in https://reviews.llvm.org/D136447 |
|
That fits. This particular failure was caused by Mesa not doing optimization passes with LLVM 15: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19217 With the For completeness, the downstream bug report: http://bugzilla.opensuse.org/show_bug.cgi?id=1204267 |
|
I see. Makes sense. FYI, You likely don't need instsimplify, instcombine should be a super-set of it. But from the look of "After:" in the PR I don't see instsimplify running between |
Adding optimizations could make it disappear, but backends should be able to lower non-optimized code. |
https://build.opensuse.org/request/show/1031948 by user aaronpuchert + dimstar_suse - Update to version 15.0.3. * This release contains bug-fixes for the LLVM 15.0.0 release. This release is API and ABI compatible with 15.0.0. - Add llvm-armv7-fix-vector-compare-with-zero-lowering.patch: Fix lowering of non-canonical vector comparison with zero on armv7, preventing a crash (boo#1204267, gh#llvm/llvm-project#58514). - Add lldb-swig-4.1.0-build-fix.patch: Fix build with Swig 4.1.0. - Rebase llvm-do-not-install-static-libraries.patch.
This is reduced from a larger file:
Compilation with
llc -O2 -march=arm --float-abi=hard -mattr=+armv7-afails with:The larger file had a more complex tree, but I think it boils down to the
VCMPZ. Other comparisons are not (necessarily) an issue, e.g. for the oppositeicmp ultwe getThe text was updated successfully, but these errors were encountered: