[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll

Chris Lattner lattner at cs.uiuc.edu
Wed Jul 19 10:14:35 PDT 2006



Changes in directory llvm/test/Regression/CodeGen/PowerPC:

2006-07-19-stwbrx-crash.ll added (r1.1)
---
Log message:

new testcase


---
Diffs of the changes:  (+10 -0)

 2006-07-19-stwbrx-crash.ll |   10 ++++++++++
 1 files changed, 10 insertions(+)


Index: llvm/test/Regression/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll:1.1
*** /dev/null	Wed Jul 19 12:14:33 2006
--- llvm/test/Regression/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll	Wed Jul 19 12:14:23 2006
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32
+ 
+ void %img2buf(int %symbol_size_in_bytes, ushort* %ui16) {
+ 	%tmp93 = load ushort* null		; <ushort> [#uses=1]
+ 	%tmp99 = call ushort %llvm.bswap.i16( ushort %tmp93 )		; <ushort> [#uses=1]
+ 	store ushort %tmp99, ushort* %ui16
+ 	ret void
+ }
+ 
+ declare ushort %llvm.bswap.i16(ushort)






More information about the llvm-commits mailing list