[X86] Fix copy/paste mistake in test.
authorCraig Topper <craig.topper@intel.com>
Tue, 20 Feb 2018 22:33:23 +0000 (22:33 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 20 Feb 2018 22:33:23 +0000 (22:33 +0000)
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

index 967dbc1..718e69b 100644 (file)
@@ -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, <i32 2147483647, i32 2147483647, i32 2147483647, i32 2147483647>
+  %cmp = icmp sge <4 x i32> %x, <i32 2147483647, i32 2147483647, i32 2147483647, i32 2147483647>
   %r = sext <4 x i1> %cmp to <4 x i32>
   ret <4 x i32> %r
 }