From: Michael Liao Date: Wed, 21 Oct 2015 21:50:58 +0000 (+0000) Subject: [InstCombine] Revise the test case to match full sequene X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=19b672882f5c1c8efe59ffe68235f59caa27c7e6;p=oota-llvm.git [InstCombine] Revise the test case to match full sequene git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250950 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/icmp.ll b/test/Transforms/InstCombine/icmp.ll index 05f6678e354..a85bee5c2c9 100644 --- a/test/Transforms/InstCombine/icmp.ll +++ b/test/Transforms/InstCombine/icmp.ll @@ -1635,7 +1635,7 @@ entry: ; CHECK-LABEL: @cmp_sgt_rhs_dec ; CHECK-NOT: sub -; CHECK: icmp sge +; CHECK: icmp sge i32 %conv, %i define i1 @cmp_sgt_rhs_dec(float %x, i32 %i) { %conv = fptosi float %x to i32 %dec = sub nsw i32 %i, 1 @@ -1645,7 +1645,7 @@ define i1 @cmp_sgt_rhs_dec(float %x, i32 %i) { ; CHECK-LABEL: @cmp_sle_rhs_dec ; CHECK-NOT: sub -; CHECK: icmp slt +; CHECK: icmp slt i32 %conv, %i define i1 @cmp_sle_rhs_dec(float %x, i32 %i) { %conv = fptosi float %x to i32 %dec = sub nsw i32 %i, 1 @@ -1655,7 +1655,7 @@ define i1 @cmp_sle_rhs_dec(float %x, i32 %i) { ; CHECK-LABEL: @cmp_sge_rhs_inc ; CHECK-NOT: add -; CHECK: icmp sgt +; CHECK: icmp sgt i32 %conv, %i define i1 @cmp_sge_rhs_inc(float %x, i32 %i) { %conv = fptosi float %x to i32 %inc = add nsw i32 %i, 1 @@ -1665,7 +1665,7 @@ define i1 @cmp_sge_rhs_inc(float %x, i32 %i) { ; CHECK-LABEL: @cmp_slt_rhs_inc ; CHECK-NOT: add -; CHECK: icmp sle +; CHECK: icmp sle i32 %conv, %i define i1 @cmp_slt_rhs_inc(float %x, i32 %i) { %conv = fptosi float %x to i32 %inc = add nsw i32 %i, 1