Enable all Hexagon tests.
[oota-llvm.git] / test / CodeGen / X86 / peep-vector-extract-concat.ll
index 6880fc33c9ac15ea776fb5b597cf562a71a0584d..606a9be68bd411960acda46dfd1bf64357ccc84c 100644 (file)
@@ -1,6 +1,11 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep {shufps \$3, %xmm0, %xmm0}
+; RUN: llc < %s -mtriple=x86_64-linux -mattr=+sse2,-sse41 | FileCheck %s
+; CHECK: pshufd $3, %xmm0, %xmm0
 
-define float @foo(<8 x float> %a) {
+; RUN: llc < %s -mtriple=x86_64-win32 -mattr=+sse2,-sse41 | FileCheck %s -check-prefix=WIN64
+; %a is passed indirectly on Win64.
+; WIN64: movss   12(%rcx), %xmm0
+
+define float @foo(<8 x float> %a) nounwind {
   %c = extractelement <8 x float> %a, i32 3
   ret float %c
 }