-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Clang crash: Assertion `isReg() && "This is not a register operand!"' failed. #71178
Closed
Labels
Comments
github-actions
bot
added
the
clang
Clang issues not falling into any other category
label
Nov 3, 2023
I will take a look. Thanks. |
EugeneZelenko
added
llvm:optimizations
crash
Prefer [crash-on-valid] or [crash-on-invalid]
and removed
clang
Clang issues not falling into any other category
labels
Nov 3, 2023
vvuksanovic
added a commit
to vvuksanovic/llvm-project
that referenced
this issue
Nov 27, 2023
If a pointer gets recycled while it is already in a work list, it can cause duplicates in the work lists. In that case the same instruction may be processed twice. If it is coalesced the first time, processing it again would read deallocated memory. This is fixed by removing the first occurrence from the work lists when we detect a pointer was recycled. Fixes llvm#71178
llvmbot
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Feb 9, 2024
… but erased (llvm#79820) Fixes llvm#79718. Fixes llvm#71178. The same instructions may exist in an iteration. We cannot immediately delete instructions in `ErasedInstrs`. (cherry picked from commit 95b14da)
llvmbot
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Feb 9, 2024
… but erased (llvm#79820) Fixes llvm#79718. Fixes llvm#71178. The same instructions may exist in an iteration. We cannot immediately delete instructions in `ErasedInstrs`. (cherry picked from commit 95b14da)
tstellar
pushed a commit
to tstellar/llvm-project
that referenced
this issue
Feb 14, 2024
… but erased (llvm#79820) Fixes llvm#79718. Fixes llvm#71178. The same instructions may exist in an iteration. We cannot immediately delete instructions in `ErasedInstrs`. (cherry picked from commit 95b14da)
tstellar
pushed a commit
to tstellar/llvm-project
that referenced
this issue
Feb 14, 2024
… but erased (llvm#79820) Fixes llvm#79718. Fixes llvm#71178. The same instructions may exist in an iteration. We cannot immediately delete instructions in `ErasedInstrs`. (cherry picked from commit 95b14da)
tstellar
pushed a commit
to tstellar/llvm-project
that referenced
this issue
Feb 14, 2024
… but erased (llvm#79820) Fixes llvm#79718. Fixes llvm#71178. The same instructions may exist in an iteration. We cannot immediately delete instructions in `ErasedInstrs`. (cherry picked from commit 95b14da)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clang at -O1 crashes on the test case.
Bisected to 2cdc6f2, which was committed by @djtodoro
Compiler explorer: https://godbolt.org/z/74MTEPh36
The text was updated successfully, but these errors were encountered: