Some more cases that can be generated with two instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27759 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/PowerPC/vec_constants.ll b/test/CodeGen/PowerPC/vec_constants.ll
index aea5294..59b7f7f 100644
--- a/test/CodeGen/PowerPC/vec_constants.ll
+++ b/test/CodeGen/PowerPC/vec_constants.ll
@@ -37,3 +37,12 @@
sbyte -104, sbyte -104, sbyte -104, sbyte -104,
sbyte -104, sbyte -104, sbyte -104, sbyte -104>
}
+
+<4 x int> %test_vsldoi() {
+ ret <4 x int> <int 512, int 512, int 512, int 512>
+}
+
+<4 x int> %test_rol() {
+ ret <4 x int> <int -11534337, int -11534337, int -11534337, int -11534337>
+}
+