about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/allocator.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-07 10:12:46 +0100
committerGitHub <noreply@github.com>2025-03-07 10:12:46 +0100
commit1155f01c5a599a06a0ee3b8ccd0d6ba411ad62d3 (patch)
tree32abd0617714270590547431df9bcfe52f2fda08 /compiler/rustc_codegen_llvm/src/allocator.rs
parentf42c933c29aa9babe918740a502d75017c02cc40 (diff)
parent02d7fc167fea5013e2300b1c5a3ca75f7a048664 (diff)
downloadrust-1155f01c5a599a06a0ee3b8ccd0d6ba411ad62d3.tar.gz
rust-1155f01c5a599a06a0ee3b8ccd0d6ba411ad62d3.zip
Rollup merge of #138073 - tmiasko:inline-asm-critical-edges, r=bjorn3
Break critical edges in inline asm before code generation

An inline asm terminator defines outputs along its target edges -- a
fallthrough target and labeled targets. Code generation implements this
by inserting code directly into the target blocks. This approach works
only if the target blocks don't have other predecessors.

Establish required invariant by extending existing code that breaks
critical edges before code generation.

Fixes #137867.

r? ``@bjorn3``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions