projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cf723d
)
Add a new test case for 'undef' shuffles.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 8 Sep 2006 01:54:32 +0000
(
01:54
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 8 Sep 2006 01:54:32 +0000
(
01:54
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30172
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/X86/vec_shuffle-8.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/X86/vec_shuffle-8.ll
b/test/CodeGen/X86/vec_shuffle-8.ll
new file mode 100644
(file)
index 0000000..
449a3ab
--- /dev/null
+++ b/
test/CodeGen/X86/vec_shuffle-8.ll
@@ -0,0
+1,9
@@
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 &&
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep shufps
+
+void %test(<4 x float>* %res, <4 x float>* %A) {
+ %tmp1 = load <4 x float>* %A
+ %tmp2 = shufflevector <4 x float> %tmp1, <4 x float> undef, <4 x uint> < uint 0, uint 5, uint 6, uint 7 >
+ store <4 x float> %tmp2, <4 x float>* %res
+ ret void
+}