about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-01-12 06:22:49 +0000
committerbors <bors@rust-lang.org>2025-01-12 06:22:49 +0000
commit13f3924c675f5a678a849ac87412710b8bca6636 (patch)
treeaf8a3ee314c891cde8f3e744f2e4ea87b7fdc643 /compiler/rustc_codegen_gcc
parent12445e0b2c532e389b8293924ed7c2b6fad5238f (diff)
parent7396ec3edb8f1d3300bdcf0a2bf076264ba61bfc (diff)
downloadrust-13f3924c675f5a678a849ac87412710b8bca6636.tar.gz
rust-13f3924c675f5a678a849ac87412710b8bca6636.zip
Auto merge of #135322 - scottmcm:inst-simplify-repeat-one, r=oli-obk
[mir-opt] simplify `Repeat`s that don't actually repeat the operand

Created because when I was writing this case in GVN

https://github.com/rust-lang/rust/pull/133324/files#diff-292b215fdc6b59e3f3c4173c2270b14591c5673832fbfb05cd69a05c2ef0c30eR977-R979

I happened to notice that it worked for `[x]` but not for `[x; 1]`, so figured it would be good to simplify that `Repeat` to the simpler `Aggregate`.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions