1; RUN: not llc -mtriple=x86_64 %s -o /dev/null 2>&1 | FileCheck %s 2; RUN: llc -mtriple=x86_64 -no-integrated-as < %s | FileCheck %s --check-prefix=GAS 3; RUN: llc -mtriple=x86_64 -filetype=obj %s -o - | llvm-objdump -d - | FileCheck %s --check-prefix=DISASM 4 5; GAS: nop; .if . - foo==1; nop;.endif 6 7; CHECK: <inline asm>:1:17: error: expected absolute expression 8 9; DISASM: <main>: 10; DISASM-NEXT: nop 11; DISASM-NEXT: nop 12; DISASM-NEXT: xorl %eax, %eax 13; DISASM-NEXT: retq 14 15define i32 @main() local_unnamed_addr { 16 tail call void asm sideeffect "foo: nop; .if . - foo==1; nop;.endif", "~{dirflag},~{fpsr},~{flags}"() 17 ret i32 0 18} 19