]> git.proxmox.com Git - rustc.git/blame - src/test/mir-opt/inline/inline_compatibility.inlined_target_feature.Inline.diff
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / mir-opt / inline / inline_compatibility.inlined_target_feature.Inline.diff
CommitLineData
1b1a35ee
XL
1- // MIR for `inlined_target_feature` before Inline
2+ // MIR for `inlined_target_feature` after Inline
3
4 fn inlined_target_feature() -> () {
fc512014
XL
5 let mut _0: (); // return place in scope 0 at $DIR/inline-compatibility.rs:12:40: 12:40
6 let _1: (); // in scope 0 at $DIR/inline-compatibility.rs:13:5: 13:21
7+ scope 1 (inlined target_feature) { // at $DIR/inline-compatibility.rs:13:5: 13:21
1b1a35ee
XL
8+ }
9
10 bb0: {
fc512014
XL
11 StorageLive(_1); // scope 0 at $DIR/inline-compatibility.rs:13:5: 13:21
12- _1 = target_feature() -> bb1; // scope 0 at $DIR/inline-compatibility.rs:13:5: 13:21
1b1a35ee 13- // mir::Constant
fc512014 14- // + span: $DIR/inline-compatibility.rs:13:5: 13:19
1b1a35ee
XL
15- // + literal: Const { ty: unsafe fn() {target_feature}, val: Value(Scalar(<ZST>)) }
16- }
17-
18- bb1: {
fc512014
XL
19 StorageDead(_1); // scope 0 at $DIR/inline-compatibility.rs:13:21: 13:22
20 _0 = const (); // scope 0 at $DIR/inline-compatibility.rs:12:40: 14:2
21 return; // scope 0 at $DIR/inline-compatibility.rs:14:2: 14:2
923072b8
FG
22+ }
23+
24+ bb1 (cleanup): {
25+ resume; // scope 0 at $DIR/inline-compatibility.rs:12:1: 14:2
1b1a35ee
XL
26 }
27 }
28