about summary refs log tree commit diff
path: root/tests/mir-opt/instsimplify/aggregate_array.const_items.InstSimplify-after-simplifycfg.diff
blob: bdeabee2e46f8efea523c4921134a9da18f71c0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
- // MIR for `const_items` before InstSimplify-after-simplifycfg
+ // MIR for `const_items` after InstSimplify-after-simplifycfg
  
  fn const_items() -> [u8; 5] {
      let mut _0: [u8; 5];
  
      bb0: {
-         _0 = [const const_items::A, const const_items::B, const const_items::C, const const_items::D, const const_items::E];
+         _0 = [const const_items::A; 5];
          return;
      }
  }