From 63dd97513b4999bfa74f7d810cd592caede6ac02 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Tue, 20 Feb 2018 22:33:23 +0000 Subject: [PATCH] [X86] Fix copy/paste mistake in test. The contents of the test case didnt' match the name of the test case. And they were identical to the test above. llvm-svn: 325635 --- llvm/test/CodeGen/X86/vector-compare-simplify.ll | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/llvm/test/CodeGen/X86/vector-compare-simplify.ll b/llvm/test/CodeGen/X86/vector-compare-simplify.ll index 967dbc1..718e69b 100644 --- a/llvm/test/CodeGen/X86/vector-compare-simplify.ll +++ b/llvm/test/CodeGen/X86/vector-compare-simplify.ll @@ -82,9 +82,10 @@ define <4 x i32> @sge_max(<4 x i32> %x) { ; CHECK: # %bb.0: ; CHECK-NEXT: movdqa {{.*#+}} xmm1 = [2147483647,2147483647,2147483647,2147483647] ; CHECK-NEXT: pcmpgtd %xmm0, %xmm1 -; CHECK-NEXT: movdqa %xmm1, %xmm0 +; CHECK-NEXT: pcmpeqd %xmm0, %xmm0 +; CHECK-NEXT: pxor %xmm1, %xmm0 ; CHECK-NEXT: retq - %cmp = icmp slt <4 x i32> %x, + %cmp = icmp sge <4 x i32> %x, %r = sext <4 x i1> %cmp to <4 x i32> ret <4 x i32> %r } -- 2.7.4