-
Notifications
You must be signed in to change notification settings - Fork 11k
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
A/F: `getType() == V->getType() && "All operands to PHI node must be the same type as the PHI node !"' after 1eec81a #97674
Labels
Comments
Seems like when Reducer of exact error:
Repro with: Or an even simpler version (different assert location):
Same command as above. |
Ill have a fix up shortly. |
goldsteinn
added a commit
to goldsteinn/llvm-project
that referenced
this issue
Jul 4, 2024
Fixes llvm#97674 After llvm#97428 added support for vectors, our constant ranges can now be from splat vectors so when they reduce to a singe constant value, we need to return the original type as opposed to just an int.
Fix at: #97682 |
kbluck
pushed a commit
to kbluck/llvm-project
that referenced
this issue
Jul 6, 2024
…llvm#97682) Fixes llvm#97674 After llvm#97428 added support for vectors, our constant ranges can now be from splat vectors so when they reduce to a singe constant value, we need to return the original type as opposed to just an int.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have an internal test which started to hit an assertion failure when compiled which I bisected back to 1eec81a.
Consider the following code:
When compiled with optimizations and AVX support with a compiler before 1eec81a, the compilation succeeds:
When compiled with the same arguments but with a compiler built from 1eec81a, the compiler hits an assertion failure:
The text was updated successfully, but these errors were encountered: