You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
569 B
15 lines
569 B
; RUN: not llc -mtriple x86_64-unknown-linux-gnu -o %t.s -filetype=asm %s 2>&1 | FileCheck %s
|
|
; RUN: not llc -mtriple x86_64-unknown-linux-gnu -o %t.o -filetype=obj %s 2>&1 | FileCheck %s
|
|
|
|
; Assembler-aware expression evaluation should be disabled in inline
|
|
; assembly to prevent differences in behavior between object and
|
|
; assembly output.
|
|
|
|
|
|
; CHECK: <inline asm>:1:17: error: expected absolute expression
|
|
|
|
define i32 @main() local_unnamed_addr {
|
|
tail call void asm sideeffect "foo: nop; .if . - foo==1; nop;.endif", "~{dirflag},~{fpsr},~{flags}"()
|
|
ret i32 0
|
|
}
|