[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/Frames-align.ll
Jim Laskey
jlaskey at apple.com
Fri Nov 17 09:20:03 PST 2006
Changes in directory llvm/test/Regression/CodeGen/PowerPC:
Frames-align.ll added (r1.1)
---
Log message:
Check for MaxAlign.
---
Diffs of the changes: (+11 -0)
Frames-align.ll | 11 +++++++++++
1 files changed, 11 insertions(+)
Index: llvm/test/Regression/CodeGen/PowerPC/Frames-align.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/Frames-align.ll:1.1
*** /dev/null Fri Nov 17 11:19:59 2006
--- llvm/test/Regression/CodeGen/PowerPC/Frames-align.ll Fri Nov 17 11:19:49 2006
***************
*** 0 ****
--- 1,11 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 | grep 'rlwinm r0, r1, 0, 22, 31' &&
+ ; RUN: llvm-as < %s | llc -march=ppc32 | grep 'subfic r0, r0, -17408' &&
+ ; RUN: llvm-as < %s | llc -march=ppc64 | grep 'rldicl r0, r1, 0, 54'
+
+
+ implementation
+
+ int* %f1() {
+ %tmp = alloca int, uint 4095, align 1024
+ ret int* %tmp
+ }
More information about the llvm-commits
mailing list