diff options
author | Chris Lattner <sabre@nondot.org> | 2006-11-18 19:17:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-11-18 19:17:52 +0000 |
commit | e6cc288941d174d5711d7ae381b722f7b0b87e56 (patch) | |
tree | 0ea479e1d31bcb710c3fc6815afe4ed98ad84d50 /test | |
parent | 161a2fb9d83993ed77f20f5b8551f426d821b18e (diff) | |
download | external_llvm-e6cc288941d174d5711d7ae381b722f7b0b87e56.zip external_llvm-e6cc288941d174d5711d7ae381b722f7b0b87e56.tar.gz external_llvm-e6cc288941d174d5711d7ae381b722f7b0b87e56.tar.bz2 |
converting massive blocks of phis into selects like this is silly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31852 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/SimplifyCFG/PhiEliminate.ll | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/test/Transforms/SimplifyCFG/PhiEliminate.ll b/test/Transforms/SimplifyCFG/PhiEliminate.ll index f8e06c0..0ca60e3 100644 --- a/test/Transforms/SimplifyCFG/PhiEliminate.ll +++ b/test/Transforms/SimplifyCFG/PhiEliminate.ll @@ -18,22 +18,8 @@ T: br label %F F: %B1 = phi bool [true, %0], [false, %T], [false, %X] - %B2 = phi bool [true, %T], [false, %0], [false, %X] - %I1 = phi int [1, %T], [0, %0], [2, %X] - %I2 = phi int [1, %0], [0, %T], [3, %X] - %I3 = phi int [17, %T], [0, %0], [4, %X] - %I4 = phi int [17, %T], [5, %0], [44, %X] - %I5 = phi int [%V, %T], [0, %0], [%V, %X] - %I6 = phi int [%V, %0], [0, %T], [%V, %X] %I7 = phi int [%V, %0], [%V2, %T], [%V2, %X] call void %use(bool %B1) - call void %use(bool %B2) - call void %use(int %I1) - call void %use(int %I2) - call void %use(int %I3) - call void %use(int %I4) - call void %use(int %I5) - call void %use(int %I6) call void %use(int %I7) ret void } @@ -44,22 +30,8 @@ T: br label %F F: %B1 = phi bool [true, %0], [false, %T] - %B2 = phi bool [true, %T], [false, %0] - %I1 = phi int [1, %T], [0, %0] - %I2 = phi int [1, %0], [0, %T] - %I3 = phi int [17, %T], [0, %0] - %I4 = phi int [17, %T], [5, %0] - %I5 = phi int [%V, %T], [0, %0] %I6 = phi int [%V, %0], [0, %T] - %I7 = phi int [%V, %0], [%V2, %T] call void %use(bool %B1) - call void %use(bool %B2) - call void %use(int %I1) - call void %use(int %I2) - call void %use(int %I3) - call void %use(int %I4) - call void %use(int %I5) call void %use(int %I6) - call void %use(int %I7) ret void } |