Changes in directory llvm/test/Regression/CodeGen/PowerPC:
mem_update.ll updated: 1.3 -> 1.4 --- Log message: make this harder --- Diffs of the changes: (+26 -0) mem_update.ll | 26 ++++++++++++++++++++++++++ 1 files changed, 26 insertions(+) Index: llvm/test/Regression/CodeGen/PowerPC/mem_update.ll diff -u llvm/test/Regression/CodeGen/PowerPC/mem_update.ll:1.3 llvm/test/Regression/CodeGen/PowerPC/mem_update.ll:1.4 --- llvm/test/Regression/CodeGen/PowerPC/mem_update.ll:1.3 Fri Nov 10 18:13:07 2006 +++ llvm/test/Regression/CodeGen/PowerPC/mem_update.ll Wed Nov 15 19:22:52 2006 @@ -2,6 +2,7 @@ ; RUN: llvm-as < %s | llc -march=ppc32 -enable-ppc-preinc | not grep addi && ; RUN: llvm-as < %s | llc -march=ppc64 -enable-ppc-preinc && ; RUN: llvm-as < %s | llc -march=ppc64 -enable-ppc-preinc | not grep addi +%Glob = global ulong 4 int *%test0(int *%X, int *%dest) { %Y = getelementptr int* %X, int 4 @@ -33,6 +34,13 @@ ret ushort* %Y } +short *%test3a(short *%X, long *%dest) { + %Y = getelementptr short* %X, int 4 + %A = load short* %Y + %B = cast short %A to long + store long %B, long* %dest + ret short* %Y +} long *%test4(long *%X, long *%dest) { %Y = getelementptr long* %X, int 4 @@ -40,3 +48,21 @@ store long %A, long* %dest ret long* %Y } + +ushort *%test5(ushort *%X) { + %Y = getelementptr ushort* %X, int 4 + store ushort 7, ushort* %Y + ret ushort* %Y +} + +ulong *%test6(ulong *%X, ulong %A) { + %Y = getelementptr ulong* %X, int 4 + store ulong %A, ulong* %Y + ret ulong* %Y +} + +ulong *%test7(ulong *%X, ulong %A) { + store ulong %A, ulong* %Glob + ret ulong *%Glob +} + _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits