diff options
-rw-r--r-- | test/CodeGen/X86/inline-asm.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/inline-asm.ll b/test/CodeGen/X86/inline-asm.ll new file mode 100644 index 0000000000..de14509188 --- /dev/null +++ b/test/CodeGen/X86/inline-asm.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=x86 + +int %test1() { + ; Dest is AX, dest type = i32. + %tmp4 = call int asm sideeffect "FROB %0", "={ax}"() + ret int %tmp4 +} + |