-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
firefox fails to build with ICE in src/gl.cc with clang-19 #110374
Comments
there were some reports of musttail errors in various issues over the last week, ccing @ostannard as he is working on them. I'm happy to test any patches |
@llvm/issue-subscribers-backend-arm Author: None (stefson)
from the build log, I think this is the error:
here is the full compressed build log: build.log.gz and here is the preprocessed sources, and the reproducer: preprocess.tar.gz |
This error doesn't look obviously related to the musttail bugs I have been working on, but if you think it's relevant then you could test with #109943. |
yeah I think you're right, the only part of firefox using I could need some help with reducing, never had an issue like that before with llvm - is there a guide somewhere on what to do? |
There's a tool called creduce which is very useful for reducing compiler test cases: https://github.com/csmith-project/creduce. Unfortunately it's documentation site has been down for a while, but archive.org has it: https://web.archive.org/web/20201204141133/https://embed.cs.utah.edu/creduce/using/ |
One thing
|
That looks like a really big case that might take a while to reduce from C. With a mixture of -emit-llvm, running it through llc and isolating the function that was going wrong I managed to get it down to this: It fails with |
I've compiled a llvm-20 toolchain to check if the error was fixed recently, and it fails as before:
|
I've compiled weekly snapshots of the 19.x branch for the last days, and have the regression range down to one week: |
I narrowed it down to 6b76c1e. |
Cc: @nikic |
There is a reduced example here: https://godbolt.org/z/aYYTGxWWv |
With range and undef metadata on a call we can have vector AssertZExt generated on a target with no vector operations. The AssertZExt needs to scalarize to a normal `AssertZext tin, ValueType`. I have added AssertSext too, although I do not have a test case. Fixes llvm#110374
With range and undef metadata on a call we can have vector AssertZExt generated on a target with no vector operations. The AssertZExt needs to scalarize to a normal `AssertZext tin, ValueType`. I have added AssertSext too, although I do not have a test case. Fixes llvm#110374 (cherry picked from commit ab9a80a)
With range and undef metadata on a call we can have vector AssertZExt generated on a target with no vector operations. The AssertZExt needs to scalarize to a normal `AssertZext tin, ValueType`. I have added AssertSext too, although I do not have a test case. Fixes llvm#110374 (cherry picked from commit ab9a80a)
With range and undef metadata on a call we can have vector AssertZExt generated on a target with no vector operations. The AssertZExt needs to scalarize to a normal `AssertZext tin, ValueType`. I have added AssertSext too, although I do not have a test case. Fixes llvm#110374 (cherry picked from commit ab9a80a)
from the build log, I think this is the error:
here is the full compressed build log: build.log.gz
and here is the preprocessed sources, and the reproducer: preprocess.tar.gz
The text was updated successfully, but these errors were encountered: