summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/dataflow-const-prop/transmute.invalid_bool.DataflowConstProp.64bit.diff
blob: 3972eb209a16960282217ed291a98556ed0deb25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- // MIR for `invalid_bool` before DataflowConstProp
+ // MIR for `invalid_bool` after DataflowConstProp
  
  fn invalid_bool() -> bool {
      let mut _0: bool;
      scope 1 {
      }
  
      bb0: {
-         _0 = const -1_i8 as bool (Transmute);
+         _0 = const {transmute(0xff): bool};
          return;
      }
  }