11// ignore-tidy-linelength
2- #![ feature( asm ) ]
2+ #![ feature( llvm_asm ) ]
33
44enum Empty { }
55
@@ -13,11 +13,11 @@ fn main() {
1313
1414 if true {
1515 // asm instruction stops unreachable propagation to block bb3.
16- unsafe { asm ! ( "NOP" ) ; }
16+ unsafe { llvm_asm ! ( "NOP" ) ; }
1717 _y = 21 ;
1818 } else {
1919 // asm instruction stops unreachable propagation to block bb3.
20- unsafe { asm ! ( "NOP" ) ; }
20+ unsafe { llvm_asm ! ( "NOP" ) ; }
2121 _y = 42 ;
2222 }
2323
@@ -33,7 +33,7 @@ fn main() {
3333// }
3434// bb4: {
3535// StorageLive(_8);
36- // asm!(InlineAsmInner { asm: "NOP", asm_str_style: Cooked, outputs: [], inputs: [], clobbers: [], volatile: true, alignstack: false, dialect: Att } : [] : []);
36+ // llvm_asm!(LlvmInlineAsmInner { asm: "NOP", asm_str_style: Cooked, outputs: [], inputs: [], clobbers: [], volatile: true, alignstack: false, dialect: Att } : [] : []);
3737// _8 = ();
3838// StorageDead(_8);
3939// _4 = const 42i32;
@@ -42,7 +42,7 @@ fn main() {
4242// }
4343// bb5: {
4444// StorageLive(_7);
45- // asm!(InlineAsmInner { asm: "NOP", asm_str_style: Cooked, outputs: [], inputs: [], clobbers: [], volatile: true, alignstack: false, dialect: Att } : [] : []);
45+ // llvm_asm!(LlvmInlineAsmInner { asm: "NOP", asm_str_style: Cooked, outputs: [], inputs: [], clobbers: [], volatile: true, alignstack: false, dialect: Att } : [] : []);
4646// _7 = ();
4747// StorageDead(_7);
4848// _4 = const 21i32;
@@ -64,7 +64,7 @@ fn main() {
6464// }
6565// bb4: {
6666// StorageLive(_8);
67- // asm!(InlineAsmInner { asm: "NOP", asm_str_style: Cooked, outputs: [], inputs: [], clobbers: [], volatile: true, alignstack: false, dialect: Att } : [] : []);
67+ // llvm_asm!(LlvmInlineAsmInner { asm: "NOP", asm_str_style: Cooked, outputs: [], inputs: [], clobbers: [], volatile: true, alignstack: false, dialect: Att } : [] : []);
6868// _8 = ();
6969// StorageDead(_8);
7070// _4 = const 42i32;
@@ -73,7 +73,7 @@ fn main() {
7373// }
7474// bb5: {
7575// StorageLive(_7);
76- // asm!(InlineAsmInner { asm: "NOP", asm_str_style: Cooked, outputs: [], inputs: [], clobbers: [], volatile: true, alignstack: false, dialect: Att } : [] : []);
76+ // llvm_asm!(LlvmInlineAsmInner { asm: "NOP", asm_str_style: Cooked, outputs: [], inputs: [], clobbers: [], volatile: true, alignstack: false, dialect: Att } : [] : []);
7777// _7 = ();
7878// StorageDead(_7);
7979// _4 = const 21i32;
0 commit comments