X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2Favx2-logic.ll;h=3d4fcec6078ee608480ab2c27fcb8cb5012611f8;hb=cfc74b78b13cd839c49f1f2b0b7033f32c5c1109;hp=13ebaa6f879706c79c2f0d838bdd52536a1fa416;hpb=745a86bac9684f9617aeb0e1566194ca797a64d4;p=oota-llvm.git diff --git a/test/CodeGen/X86/avx2-logic.ll b/test/CodeGen/X86/avx2-logic.ll index 13ebaa6f879..3d4fcec6078 100644 --- a/test/CodeGen/X86/avx2-logic.ll +++ b/test/CodeGen/X86/avx2-logic.ll @@ -48,15 +48,14 @@ entry: ; CHECK: vpblendvb ; CHECK: vpblendvb %ymm ; CHECK: ret -define <32 x i8> @vpblendvb(<32 x i8> %x, <32 x i8> %y) { - %min_is_x = icmp ult <32 x i8> %x, %y - %min = select <32 x i1> %min_is_x, <32 x i8> %x, <32 x i8> %y +define <32 x i8> @vpblendvb(<32 x i1> %cond, <32 x i8> %x, <32 x i8> %y) { + %min = select <32 x i1> %cond, <32 x i8> %x, <32 x i8> %y ret <32 x i8> %min } define <8 x i32> @signd(<8 x i32> %a, <8 x i32> %b) nounwind { entry: -; CHECK: signd: +; CHECK-LABEL: signd: ; CHECK: psignd ; CHECK-NOT: sub ; CHECK: ret @@ -71,7 +70,7 @@ entry: define <8 x i32> @blendvb(<8 x i32> %b, <8 x i32> %a, <8 x i32> %c) nounwind { entry: -; CHECK: blendvb: +; CHECK-LABEL: blendvb: ; CHECK: pblendvb ; CHECK: ret %b.lobit = ashr <8 x i32> %b,