about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2025-04-13 17:37:54 -0400
committerGitHub <noreply@github.com>2025-04-13 17:37:54 -0400
commit388d6127659ec11cb9689a759433c78cee20b445 (patch)
tree40508e3131bc42e1fb07f9d76753cb1dd6fc6047 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parenta04a03720e47b06ed88aefbd6e622ed49df51f82 (diff)
parent0069cadb9aa28ebd5dce748b1cc2e194d7e85fe7 (diff)
downloadrust-388d6127659ec11cb9689a759433c78cee20b445.tar.gz
rust-388d6127659ec11cb9689a759433c78cee20b445.zip
Rollup merge of #139644 - yotamofek:pr/mir_transform/instsimplify/simplify_primitive_clone, r=compiler-errors
Micro-optimize `InstSimplify`'s `simplify_primitive_clone`

r? ````@compiler-errors```` , since you already did #139411 and got randomly selected for #139638 (feel free to reassign!)

Another one similar in spirit to #139411, but this time for `simplify_primitive_clone`, which is doing a bit of redundant work. Might not show up in benches, but probably worth micro-optimizing since the transformation is run even for debug builds.

See inline comments for my reasoning for making these changes.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions