X86: Match pmin/pmax as a target specific dag combine. This occurs during vectorization.
[oota-llvm.git] / test / CodeGen / X86 / widen_arith-2.ll
index e2420f0ff19c612328fbf71fe51b99e52941bd8c..d35abc308173a41d99f169344bbc1a5f35d7adab 100644 (file)
@@ -1,9 +1,8 @@
-; RUN: llc < %s -march=x86 -mattr=+sse42 -disable-mmx -o %t
-; RUN: grep paddb  %t | count 1
-; RUN: grep pand %t | count 1
+; RUN: llc < %s -march=x86 -mattr=+sse42 | FileCheck %s
+; CHECK: padd
+; CHECK: pand
 
 ; widen v8i8 to v16i8 (checks even power of 2 widening with add & and)
-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"
 
 define void @update(i64* %dst_i, i64* %src_i, i32 %n) nounwind {
 entry: