about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-03-11 12:05:16 +0000
committerbors <bors@rust-lang.org>2025-03-11 12:05:16 +0000
commit5a44fffc336cf4cdc1c54386ea3f048254c51eef (patch)
tree18485524af380b40cf026f8d8a0836671cd0c37d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent540565e5b97b4669cd84ecd57f3d7affd00e83a1 (diff)
parent157137a64aeba7fb6e6571bcc046c97d63d368a7 (diff)
downloadrust-5a44fffc336cf4cdc1c54386ea3f048254c51eef.tar.gz
rust-5a44fffc336cf4cdc1c54386ea3f048254c51eef.zip
Auto merge of #137586 - nnethercote:SetImpliedBits, r=bjorn3
Speed up target feature computation

The LLVM backend calls `LLVMRustHasFeature` twice for every feature. In short-running rustc invocations, this accounts for a surprising amount of work.

r? `@bjorn3`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions