aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/vec_constants.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-17 17:54:18 +0000
committerChris Lattner <sabre@nondot.org>2006-04-17 17:54:18 +0000
commit2f70c8cfa2accd0eef99b751964b002810837f0c (patch)
treeb94a25e9561fa034e6e6d4d50b478c1da59b9cfb /test/CodeGen/PowerPC/vec_constants.ll
parent966083fd1ad5adf801b767bba008ebaf0b9e06fa (diff)
downloadexternal_llvm-2f70c8cfa2accd0eef99b751964b002810837f0c.zip
external_llvm-2f70c8cfa2accd0eef99b751964b002810837f0c.tar.gz
external_llvm-2f70c8cfa2accd0eef99b751964b002810837f0c.tar.bz2
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
Diffstat (limited to 'test/CodeGen/PowerPC/vec_constants.ll')
-rw-r--r--test/CodeGen/PowerPC/vec_constants.ll9
1 files changed, 9 insertions, 0 deletions
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 @@ void %test1(<4 x int>* %P1, <4 x int>* %P2, <4 x float>* %P3) {
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>
+}
+