about summary refs log tree commit diff
path: root/tests/mir-opt/lower_intrinsics.align_of.LowerIntrinsics.panic-unwind.diff
blob: e61a3e8d73834b7df37e5d132e7b01baa8e9f436 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- // MIR for `align_of` before LowerIntrinsics
+ // MIR for `align_of` after LowerIntrinsics
  
  fn align_of() -> usize {
      let mut _0: usize;
  
      bb0: {
-         _0 = std::intrinsics::align_of::<T>() -> [return: bb1, unwind unreachable];
+         _0 = AlignOf(T);
+         goto -> bb1;
      }
  
      bb1: {
          return;
      }
  }