Implement a feature (-vector-unaligned-mem) to allow targets to
[oota-llvm.git] / test / CodeGen / X86 / widen_shuffle-1.ll
index d3bbd5f9ede54071a69aea144cc7c9195ef84d7a..47dba4b4a04b3a7cdcd76d3a892e2200497f6546 100644 (file)
@@ -1,11 +1,13 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse42 -disable-mmx -o %t -f
+; RUN: llc < %s -march=x86 -mattr=+sse42 -disable-mmx | FileCheck %s
+; CHECK: insertps
+; CHECK: extractps
 
 ; widening shuffle v3float and then a add
 
 define void @shuf(<3 x float>* %dst.addr, <3 x float> %src1,<3 x float> %src2) nounwind {
 entry:
        %x = shufflevector <3 x float> %src1, <3 x float> %src2, <3 x i32> < i32 0, i32 1, i32 2>
-       %val = add <3 x float> %x, %src2;
+       %val = fadd <3 x float> %x, %src2
        store <3 x float> %val, <3 x float>* %dst.addr
        ret void
 }