diff options
author | Owen Anderson <resistor@mac.com> | 2008-07-17 19:42:29 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-07-17 19:42:29 +0000 |
commit | 11f2ec8eb534502a0d5b7e3c13c1a38e877876b2 (patch) | |
tree | e413a443d9b2d530977790ca231a68dcf2c48c4d /include/llvm/Transforms/Utils | |
parent | c2b856e5b4dbd913c1db0fb0abd2c640489781ce (diff) | |
download | external_llvm-11f2ec8eb534502a0d5b7e3c13c1a38e877876b2.zip external_llvm-11f2ec8eb534502a0d5b7e3c13c1a38e877876b2.tar.gz external_llvm-11f2ec8eb534502a0d5b7e3c13c1a38e877876b2.tar.bz2 |
Make MergeBlockIntoPredecessor more aggressive when the same successor appears
more than once.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53731 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils')
-rw-r--r-- | include/llvm/Transforms/Utils/BasicBlockUtils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/BasicBlockUtils.h b/include/llvm/Transforms/Utils/BasicBlockUtils.h index f1a7a26..5b36701 100644 --- a/include/llvm/Transforms/Utils/BasicBlockUtils.h +++ b/include/llvm/Transforms/Utils/BasicBlockUtils.h @@ -27,7 +27,7 @@ class Pass; /// MergeBlockIntoPredecessor - Attempts to merge a block into its predecessor, /// if possible. The return value indicates success or failure. -bool MergeBlockIntoPredecessor(BasicBlock* BB, Pass* P); +bool MergeBlockIntoPredecessor(BasicBlock* BB, Pass* P = 0); // ReplaceInstWithValue - Replace all uses of an instruction (specified by BI) // with a value, then remove and delete the original instruction. |