diff options
author | Chris Lattner <sabre@nondot.org> | 2003-12-09 20:50:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-12-09 20:50:20 +0000 |
commit | 8f25f4684389b39b0ca6014fafe64708343e40a9 (patch) | |
tree | bbd75e6afbbc24e25ca73f86a086ef3026080cdd | |
parent | ed6dfc2856cd44a8aa608a9074eabbf42dd6cadc (diff) | |
download | external_llvm-8f25f4684389b39b0ca6014fafe64708343e40a9.zip external_llvm-8f25f4684389b39b0ca6014fafe64708343e40a9.tar.gz external_llvm-8f25f4684389b39b0ca6014fafe64708343e40a9.tar.bz2 |
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
-rw-r--r-- | test/Transforms/LICM/sink_inst.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Transforms/LICM/sink_inst.ll b/test/Transforms/LICM/sink_inst.ll index 8f8722c..a4d5c3d 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 } |