diff options
| author | bors <bors@rust-lang.org> | 2025-01-12 06:22:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-12 06:22:49 +0000 |
| commit | 13f3924c675f5a678a849ac87412710b8bca6636 (patch) | |
| tree | af8a3ee314c891cde8f3e744f2e4ea87b7fdc643 /compiler/rustc_codegen_gcc | |
| parent | 12445e0b2c532e389b8293924ed7c2b6fad5238f (diff) | |
| parent | 7396ec3edb8f1d3300bdcf0a2bf076264ba61bfc (diff) | |
| download | rust-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
