summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Regression/CodeGen/PowerPC/align.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/PowerPC/align.ll b/llvm/test/Regression/CodeGen/PowerPC/align.ll
new file mode 100644
index 00000000000..e2045d71e85
--- /dev/null
+++ b/llvm/test/Regression/CodeGen/PowerPC/align.ll
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | llc -march=ppc32 | grep "align.4" | wc -l | grep 1 &&
+; RUN: llvm-as < %s | llc -march=ppc32 | grep "align.2" | wc -l | grep 1 &&
+; RUN: llvm-as < %s | llc -march=ppc32 | grep "align.3" | wc -l | grep 1
+
+
+%A = global <4 x uint> < uint 10, uint 20, uint 30, uint 40 >
+%B = global float 1.000000e+02
+%C = global double 2.000000e+03
+
OpenPOWER on IntegriCloud