aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>
+}