From: Chris Lattner Date: Tue, 9 Dec 2003 20:50:20 +0000 (+0000) Subject: Make the test a bit harder so that we test to ensure that _both_ instructions X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=8f25f4684389b39b0ca6014fafe64708343e40a9;p=oota-llvm.git Make the test a bit harder so that we test to ensure that _both_ instructions are sunk git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10343 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/LICM/sink_inst.ll b/test/Transforms/LICM/sink_inst.ll index 8f8722c0b93..a4d5c3de21d 100644 --- a/test/Transforms/LICM/sink_inst.ll +++ b/test/Transforms/LICM/sink_inst.ll @@ -10,9 +10,10 @@ Entry: Loop: %N_addr.0.pn = phi int [ %dec, %Loop ], [ %N, %Entry ] %tmp.6 = mul int %N, %N_addr.0.pn + %tmp.7 = sub int %tmp.6, %N %dec = add int %N_addr.0.pn, -1 %tmp.1 = setne int %N_addr.0.pn, 1 br bool %tmp.1, label %Loop, label %Out Out: - ret int %tmp.6 + ret int %tmp.7 }