Skip to content

Commit 88e9bff

Browse files
committed
bless mir-opt tests
1 parent 9229d2a commit 88e9bff

6 files changed

+18
-18
lines changed

tests/mir-opt/issue_101973.inner.GVN.panic-abort.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
bb2: {
7575
_6 = Shl(move _7, const 1_i32);
7676
StorageDead(_7);
77-
_3 = rotate_right::<u32>(move _4, move _6) -> [return: bb3, unwind unreachable];
77+
_3 = std::intrinsics::rotate_right::<u32>(move _4, move _6) -> [return: bb3, unwind unreachable];
7878
}
7979

8080
bb3: {

tests/mir-opt/issue_101973.inner.GVN.panic-unwind.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
bb2: {
7575
_6 = Shl(move _7, const 1_i32);
7676
StorageDead(_7);
77-
_3 = rotate_right::<u32>(move _4, move _6) -> [return: bb3, unwind unreachable];
77+
_3 = std::intrinsics::rotate_right::<u32>(move _4, move _6) -> [return: bb3, unwind unreachable];
7878
}
7979

8080
bb3: {

tests/mir-opt/lower_intrinsics.unchecked.LowerIntrinsics.panic-abort.diff

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
_5 = _1;
6868
StorageLive(_6);
6969
_6 = _2;
70-
- _4 = unchecked_add::<i32>(move _5, move _6) -> [return: bb1, unwind unreachable];
70+
- _4 = std::intrinsics::unchecked_add::<i32>(move _5, move _6) -> [return: bb1, unwind unreachable];
7171
+ _4 = AddUnchecked(move _5, move _6);
7272
+ goto -> bb1;
7373
}
@@ -80,7 +80,7 @@
8080
_8 = _1;
8181
StorageLive(_9);
8282
_9 = _2;
83-
- _7 = unchecked_sub::<i32>(move _8, move _9) -> [return: bb2, unwind unreachable];
83+
- _7 = std::intrinsics::unchecked_sub::<i32>(move _8, move _9) -> [return: bb2, unwind unreachable];
8484
+ _7 = SubUnchecked(move _8, move _9);
8585
+ goto -> bb2;
8686
}
@@ -93,7 +93,7 @@
9393
_11 = _1;
9494
StorageLive(_12);
9595
_12 = _2;
96-
- _10 = unchecked_mul::<i32>(move _11, move _12) -> [return: bb3, unwind unreachable];
96+
- _10 = std::intrinsics::unchecked_mul::<i32>(move _11, move _12) -> [return: bb3, unwind unreachable];
9797
+ _10 = MulUnchecked(move _11, move _12);
9898
+ goto -> bb3;
9999
}
@@ -132,7 +132,7 @@
132132
_20 = _1;
133133
StorageLive(_21);
134134
_21 = _2;
135-
- _19 = unchecked_shl::<i32, i32>(move _20, move _21) -> [return: bb6, unwind unreachable];
135+
- _19 = std::intrinsics::unchecked_shl::<i32, i32>(move _20, move _21) -> [return: bb6, unwind unreachable];
136136
+ _19 = ShlUnchecked(move _20, move _21);
137137
+ goto -> bb6;
138138
}
@@ -145,7 +145,7 @@
145145
_23 = _1;
146146
StorageLive(_24);
147147
_24 = _2;
148-
- _22 = unchecked_shr::<i32, i32>(move _23, move _24) -> [return: bb7, unwind unreachable];
148+
- _22 = std::intrinsics::unchecked_shr::<i32, i32>(move _23, move _24) -> [return: bb7, unwind unreachable];
149149
+ _22 = ShrUnchecked(move _23, move _24);
150150
+ goto -> bb7;
151151
}
@@ -158,7 +158,7 @@
158158
_26 = _1;
159159
StorageLive(_27);
160160
_27 = _3;
161-
- _25 = unchecked_shl::<i32, u32>(move _26, move _27) -> [return: bb8, unwind unreachable];
161+
- _25 = std::intrinsics::unchecked_shl::<i32, u32>(move _26, move _27) -> [return: bb8, unwind unreachable];
162162
+ _25 = ShlUnchecked(move _26, move _27);
163163
+ goto -> bb8;
164164
}
@@ -171,7 +171,7 @@
171171
_29 = _1;
172172
StorageLive(_30);
173173
_30 = _3;
174-
- _28 = unchecked_shr::<i32, u32>(move _29, move _30) -> [return: bb9, unwind unreachable];
174+
- _28 = std::intrinsics::unchecked_shr::<i32, u32>(move _29, move _30) -> [return: bb9, unwind unreachable];
175175
+ _28 = ShrUnchecked(move _29, move _30);
176176
+ goto -> bb9;
177177
}

tests/mir-opt/lower_intrinsics.unchecked.LowerIntrinsics.panic-unwind.diff

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
_5 = _1;
6868
StorageLive(_6);
6969
_6 = _2;
70-
- _4 = unchecked_add::<i32>(move _5, move _6) -> [return: bb1, unwind unreachable];
70+
- _4 = std::intrinsics::unchecked_add::<i32>(move _5, move _6) -> [return: bb1, unwind unreachable];
7171
+ _4 = AddUnchecked(move _5, move _6);
7272
+ goto -> bb1;
7373
}
@@ -80,7 +80,7 @@
8080
_8 = _1;
8181
StorageLive(_9);
8282
_9 = _2;
83-
- _7 = unchecked_sub::<i32>(move _8, move _9) -> [return: bb2, unwind unreachable];
83+
- _7 = std::intrinsics::unchecked_sub::<i32>(move _8, move _9) -> [return: bb2, unwind unreachable];
8484
+ _7 = SubUnchecked(move _8, move _9);
8585
+ goto -> bb2;
8686
}
@@ -93,7 +93,7 @@
9393
_11 = _1;
9494
StorageLive(_12);
9595
_12 = _2;
96-
- _10 = unchecked_mul::<i32>(move _11, move _12) -> [return: bb3, unwind unreachable];
96+
- _10 = std::intrinsics::unchecked_mul::<i32>(move _11, move _12) -> [return: bb3, unwind unreachable];
9797
+ _10 = MulUnchecked(move _11, move _12);
9898
+ goto -> bb3;
9999
}
@@ -132,7 +132,7 @@
132132
_20 = _1;
133133
StorageLive(_21);
134134
_21 = _2;
135-
- _19 = unchecked_shl::<i32, i32>(move _20, move _21) -> [return: bb6, unwind unreachable];
135+
- _19 = std::intrinsics::unchecked_shl::<i32, i32>(move _20, move _21) -> [return: bb6, unwind unreachable];
136136
+ _19 = ShlUnchecked(move _20, move _21);
137137
+ goto -> bb6;
138138
}
@@ -145,7 +145,7 @@
145145
_23 = _1;
146146
StorageLive(_24);
147147
_24 = _2;
148-
- _22 = unchecked_shr::<i32, i32>(move _23, move _24) -> [return: bb7, unwind unreachable];
148+
- _22 = std::intrinsics::unchecked_shr::<i32, i32>(move _23, move _24) -> [return: bb7, unwind unreachable];
149149
+ _22 = ShrUnchecked(move _23, move _24);
150150
+ goto -> bb7;
151151
}
@@ -158,7 +158,7 @@
158158
_26 = _1;
159159
StorageLive(_27);
160160
_27 = _3;
161-
- _25 = unchecked_shl::<i32, u32>(move _26, move _27) -> [return: bb8, unwind unreachable];
161+
- _25 = std::intrinsics::unchecked_shl::<i32, u32>(move _26, move _27) -> [return: bb8, unwind unreachable];
162162
+ _25 = ShlUnchecked(move _26, move _27);
163163
+ goto -> bb8;
164164
}
@@ -171,7 +171,7 @@
171171
_29 = _1;
172172
StorageLive(_30);
173173
_30 = _3;
174-
- _28 = unchecked_shr::<i32, u32>(move _29, move _30) -> [return: bb9, unwind unreachable];
174+
- _28 = std::intrinsics::unchecked_shr::<i32, u32>(move _29, move _30) -> [return: bb9, unwind unreachable];
175175
+ _28 = ShrUnchecked(move _29, move _30);
176176
+ goto -> bb9;
177177
}

tests/mir-opt/lower_intrinsics.wrapping.LowerIntrinsics.panic-abort.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
_10 = _1;
5757
StorageLive(_11);
5858
_11 = _2;
59-
- _9 = wrapping_mul::<i32>(move _10, move _11) -> [return: bb3, unwind unreachable];
59+
- _9 = std::intrinsics::wrapping_mul::<i32>(move _10, move _11) -> [return: bb3, unwind unreachable];
6060
+ _9 = Mul(move _10, move _11);
6161
+ goto -> bb3;
6262
}

tests/mir-opt/lower_intrinsics.wrapping.LowerIntrinsics.panic-unwind.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
_10 = _1;
5757
StorageLive(_11);
5858
_11 = _2;
59-
- _9 = wrapping_mul::<i32>(move _10, move _11) -> [return: bb3, unwind unreachable];
59+
- _9 = std::intrinsics::wrapping_mul::<i32>(move _10, move _11) -> [return: bb3, unwind unreachable];
6060
+ _9 = Mul(move _10, move _11);
6161
+ goto -> bb3;
6262
}

0 commit comments

Comments
 (0)