-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
[IROutliner] Crash due to missing GVN #62876
Comments
BTW I have no need for this to be fixed any time soon. We aren't planning to use it for this code (at least not yet?). Just known about it for awhile and figured I'd share the reduced crash. |
EugeneZelenko
added
llvm:optimizations
crash
Prefer [crash-on-valid] or [crash-on-invalid]
and removed
new issue
labels
May 23, 2023
dcci
added a commit
to dcci/llvm-project
that referenced
this issue
Nov 21, 2023
dbg value don't really have a value number associated as they have no semantic value associated, i.e. they don't change the code being generated. Use the correct API to go over them. Fixes llvm#62876
Proposed fix in #72945 |
EugeneZelenko
added
ipo
Interprocedural optimizations
and removed
llvm:optimizations
labels
Nov 21, 2023
Can confirm that this is the fix for the previously observed crash! |
@lanza: Fix is not merged yet. |
dcci
added a commit
that referenced
this issue
Nov 22, 2023
dbg value don't really have a value number associated as they have no semantic value associated, i.e. they don't change the code being generated. Use the correct API to go over them. Fixes #62876
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When building the following source:
with the following flags:
We reach a crash here: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Transforms/IPO/IROutliner.cpp#L190.
Here is a link to a Godbolt repro: https://godbolt.org/z/7Kzf37P4b
The text was updated successfully, but these errors were encountered: