[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/inline-asm.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Jun 8 11:27:00 PDT 2006
Changes in directory llvm/test/Regression/CodeGen/X86:
inline-asm.ll updated: 1.1 -> 1.2
---
Log message:
Add new testcase
---
Diffs of the changes: (+7 -1)
inline-asm.ll | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index: llvm/test/Regression/CodeGen/X86/inline-asm.ll
diff -u llvm/test/Regression/CodeGen/X86/inline-asm.ll:1.1 llvm/test/Regression/CodeGen/X86/inline-asm.ll:1.2
--- llvm/test/Regression/CodeGen/X86/inline-asm.ll:1.1 Thu Jun 8 13:20:13 2006
+++ llvm/test/Regression/CodeGen/X86/inline-asm.ll Thu Jun 8 13:26:48 2006
@@ -2,7 +2,13 @@
int %test1() {
; Dest is AX, dest type = i32.
- %tmp4 = call int asm sideeffect "FROB %0", "={ax}"()
+ %tmp4 = call int asm sideeffect "FROB $0", "={ax}"()
ret int %tmp4
}
+void %test2(int %V) {
+ ; input is AX, in type = i32.
+ call void asm sideeffect "FROB $0", "{ax}"(int %V)
+ ret void
+}
+
More information about the llvm-commits
mailing list