-
Notifications
You must be signed in to change notification settings - Fork 139
Crash with label in block #870
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
Comments
cc: @gitoleg |
bcardosolopes
added a commit
that referenced
this issue
Sep 23, 2024
This PR fixes the case, when a temporary var is used, and `alloca` operation is inserted in the block start before the `label` operation. Implementation: when we search for the `alloca` place in a block, we take label operations into account as well. Fix #870 --------- Co-authored-by: Bruno Cardoso Lopes <bcardosolopes@users.noreply.github.com>
Hugobros3
pushed a commit
to shady-gang/clangir
that referenced
this issue
Oct 2, 2024
This PR fixes the case, when a temporary var is used, and `alloca` operation is inserted in the block start before the `label` operation. Implementation: when we search for the `alloca` place in a block, we take label operations into account as well. Fix llvm#870 --------- Co-authored-by: Bruno Cardoso Lopes <bcardosolopes@users.noreply.github.com>
smeenai
pushed a commit
to smeenai/clangir
that referenced
this issue
Oct 9, 2024
This PR fixes the case, when a temporary var is used, and `alloca` operation is inserted in the block start before the `label` operation. Implementation: when we search for the `alloca` place in a block, we take label operations into account as well. Fix llvm#870 --------- Co-authored-by: Bruno Cardoso Lopes <bcardosolopes@users.noreply.github.com>
smeenai
pushed a commit
to smeenai/clangir
that referenced
this issue
Oct 9, 2024
This PR fixes the case, when a temporary var is used, and `alloca` operation is inserted in the block start before the `label` operation. Implementation: when we search for the `alloca` place in a block, we take label operations into account as well. Fix llvm#870 --------- Co-authored-by: Bruno Cardoso Lopes <bcardosolopes@users.noreply.github.com>
smeenai
pushed a commit
to smeenai/clangir
that referenced
this issue
Oct 9, 2024
This PR fixes the case, when a temporary var is used, and `alloca` operation is inserted in the block start before the `label` operation. Implementation: when we search for the `alloca` place in a block, we take label operations into account as well. Fix llvm#870 --------- Co-authored-by: Bruno Cardoso Lopes <bcardosolopes@users.noreply.github.com>
keryell
pushed a commit
to keryell/clangir
that referenced
this issue
Oct 19, 2024
This PR fixes the case, when a temporary var is used, and `alloca` operation is inserted in the block start before the `label` operation. Implementation: when we search for the `alloca` place in a block, we take label operations into account as well. Fix llvm#870 --------- Co-authored-by: Bruno Cardoso Lopes <bcardosolopes@users.noreply.github.com>
lanza
pushed a commit
that referenced
this issue
Nov 5, 2024
This PR fixes the case, when a temporary var is used, and `alloca` operation is inserted in the block start before the `label` operation. Implementation: when we search for the `alloca` place in a block, we take label operations into account as well. Fix #870 --------- Co-authored-by: Bruno Cardoso Lopes <bcardosolopes@users.noreply.github.com>
lanza
pushed a commit
that referenced
this issue
Mar 18, 2025
This PR fixes the case, when a temporary var is used, and `alloca` operation is inserted in the block start before the `label` operation. Implementation: when we search for the `alloca` place in a block, we take label operations into account as well. Fix #870 --------- Co-authored-by: Bruno Cardoso Lopes <bcardosolopes@users.noreply.github.com>
xlauko
pushed a commit
to trailofbits/instafix-llvm
that referenced
this issue
Mar 28, 2025
This PR fixes the case, when a temporary var is used, and `alloca` operation is inserted in the block start before the `label` operation. Implementation: when we search for the `alloca` place in a block, we take label operations into account as well. Fix llvm/clangir#870 --------- Co-authored-by: Bruno Cardoso Lopes <bcardosolopes@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproducer:
Compile it with
clang -fclangir -c repro.c
we can get:The text was updated successfully, but these errors were encountered: