diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-24 16:37:40 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-24 16:37:40 +0000 |
| commit | 30d249a1b33697d73b30076937ea3b6e7af39454 (patch) | |
| tree | 0d86a9450b16f2408f92572f3138d0521ccb4c63 /llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp | |
| parent | e5ba87b6bb682d0315743242f154b0900db02cb0 (diff) | |
| download | bcm5719-llvm-30d249a1b33697d73b30076937ea3b6e7af39454.tar.gz bcm5719-llvm-30d249a1b33697d73b30076937ea3b6e7af39454.zip | |
Push analysis passes to InstSimplify when they're around anyways.
llvm-svn: 191309
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp b/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp index e99eaf3ee25..4c6d0c43cd9 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp @@ -790,7 +790,7 @@ Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { // PHINode simplification // Instruction *InstCombiner::visitPHINode(PHINode &PN) { - if (Value *V = SimplifyInstruction(&PN, TD)) + if (Value *V = SimplifyInstruction(&PN, TD, TLI)) return ReplaceInstUsesWith(PN, V); // If all PHI operands are the same operation, pull them through the PHI, |

