[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll
Chris Lattner
sabre at nondot.org
Mon Jan 29 15:45:21 PST 2007
Changes in directory llvm/test/CodeGen/PowerPC:
2007-01-29-lbrx-asm.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+7 -0)
2007-01-29-lbrx-asm.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll
diff -c /dev/null llvm/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll:1.1
*** /dev/null Mon Jan 29 17:45:13 2007
--- llvm/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll Mon Jan 29 17:45:03 2007
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 &&
+ ; RUN: llvm-as < %s | llc -march=ppc64
+
+ define i16 @test(i8* %data, i16* %data) {
+ %tmp237 = call i16 asm "lhbrx $0, $2, $1", "=r,r,bO,m"( i8* %data, i32 0, i16* %data ) ; <i16> [#uses=1]
+ ret i16 %tmp237
+ }
More information about the llvm-commits
mailing list