Tidy up this testcase and add test for tailcall optimization
[oota-llvm.git] / test / CodeGen / X86 / widen_arith-3.ll
index a22d2547566fcda9ed96441c2aa5b0960da8f660..1f2c25068ca4c45f5b7212864a8ccce7effe937e 100644 (file)
@@ -1,12 +1,10 @@
-; RUN: llc < %s -march=x86 -mattr=+sse42 -disable-mmx -o %t
-; RUN: grep paddw  %t | count 1
-; RUN: grep movd %t | count 2
-; RUN: grep pextrw %t | count 1
+; RUN: llc < %s -march=x86 -mattr=+sse42 -disable-mmx -post-RA-scheduler=true | FileCheck %s
+; CHECK: paddw
+; CHECK: pextrw
+; CHECK: movd
 
 ; Widen a v3i16 to v8i16 to do a vector add
 
-target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
-target triple = "i686-apple-darwin10.0.0d2"
 @.str = internal constant [4 x i8] c"%d \00"           ; <[4 x i8]*> [#uses=1]
 @.str1 = internal constant [2 x i8] c"\0A\00"          ; <[2 x i8]*> [#uses=1]