about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-06 00:42:58 +0000
committerbors <bors@rust-lang.org>2024-09-06 00:42:58 +0000
commit54fdef7799d9ff9470bb5cabd29fde9471a99eaa (patch)
tree6e6540cdda5a8e3d874fe7c8acb17f752b681a29 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent9c01301c52df5d2d7b6fe337707a74e011d68d6f (diff)
parent5b96ae7106e04606c67588d55927e88653529ec7 (diff)
downloadrust-54fdef7799d9ff9470bb5cabd29fde9471a99eaa.tar.gz
rust-54fdef7799d9ff9470bb5cabd29fde9471a99eaa.zip
Auto merge of #121614 - clubby789:no-expect, r=saethlin
Don't emit `expect`/`assume` in opt-level=0

LLVM does not make use of expect/assume calls in `opt-level=0`, so we can simplify IR by not emitting them in this case.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions