summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-11-16 23:50:22 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-11-16 23:50:22 +0000
commit4db4addcd49310599d2df8c6824dc188aaccb613 (patch)
tree9e8519fda88fffe187cf52e3025252bc89c2fbe2 /test
parent11ba26db13698a4567730be13a154c5690ef5e75 (diff)
downloadllvm-4db4addcd49310599d2df8c6824dc188aaccb613.tar.gz
llvm-4db4addcd49310599d2df8c6824dc188aaccb613.tar.bz2
llvm-4db4addcd49310599d2df8c6824dc188aaccb613.tar.xz
Make sure to replace the chain properly when DAGCombining a LOAD+EXTRACT_VECTOR_ELT into a single LOAD. Fixes PR10747/PR11393.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/vec_extract-sse4.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/vec_extract-sse4.ll b/test/CodeGen/X86/vec_extract-sse4.ll
index f4876543d3..42d7f27f7d 100644
--- a/test/CodeGen/X86/vec_extract-sse4.ll
+++ b/test/CodeGen/X86/vec_extract-sse4.ll
@@ -2,7 +2,7 @@
; RUN: not grep extractps %t
; RUN: not grep pextrd %t
; RUN: not grep pshufd %t
-; RUN: grep movss %t | count 2
+; RUN: not grep movss %t
define void @t1(float* %R, <4 x float>* %P1) nounwind {
%X = load <4 x float>* %P1