aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-17 06:58:16 +0000
committerChris Lattner <sabre@nondot.org>2006-04-17 06:58:16 +0000
commit2c4e9c8a3dd1a64427b57fcf5fd8befe76903ea1 (patch)
tree4f32b1d9ecf73672b38998217b18bcf12bf1e55b
parentc408382ecade09f66343b084fa0ab437781de593 (diff)
New testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27753 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/PowerPC/vec_constants.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/vec_constants.ll b/test/CodeGen/PowerPC/vec_constants.ll
index b696f497ed..aea5294bd1 100644
--- a/test/CodeGen/PowerPC/vec_constants.ll
+++ b/test/CodeGen/PowerPC/vec_constants.ll
@@ -25,3 +25,15 @@ void %test1(<4 x int>* %P1, <4 x int>* %P2, <4 x float>* %P3) {
<4 x int> %test_29() {
ret <4 x int> <int 29, int 29, int 29, int 29>
}
+
+<8 x short> %test_n30() {
+ ret <8 x short> <short -30, short -30, short -30, short -30,
+ short -30, short -30, short -30, short -30>
+}
+
+<16 x sbyte> %test_n104() {
+ ret <16 x sbyte> <sbyte -104, sbyte -104, sbyte -104, sbyte -104,
+ sbyte -104, sbyte -104, sbyte -104, sbyte -104,
+ sbyte -104, sbyte -104, sbyte -104, sbyte -104,
+ sbyte -104, sbyte -104, sbyte -104, sbyte -104>
+}