summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-02-20 22:33:23 +0000
committerCraig Topper <craig.topper@intel.com>2018-02-20 22:33:23 +0000
commit63dd97513b4999bfa74f7d810cd592caede6ac02 (patch)
tree4dd2a454b2394ef01363f9c2aad4e09be5f794da /llvm/test
parent1516dd70bbcde84f254d1780c90964176bae816e (diff)
downloadbcm5719-llvm-63dd97513b4999bfa74f7d810cd592caede6ac02.tar.gz
bcm5719-llvm-63dd97513b4999bfa74f7d810cd592caede6ac02.zip
[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
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/vector-compare-simplify.ll5
1 files 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 967dbc1c861..718e69b9511 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, <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
}
OpenPOWER on IntegriCloud