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/BasicBlockUtils.h | |
parent | c2b856e5b4dbd913c1db0fb0abd2c640489781ce (diff) | |
download | llvm-11f2ec8eb534502a0d5b7e3c13c1a38e877876b2.tar.gz llvm-11f2ec8eb534502a0d5b7e3c13c1a38e877876b2.tar.bz2 llvm-11f2ec8eb534502a0d5b7e3c13c1a38e877876b2.tar.xz |
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/BasicBlockUtils.h')
-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 f1a7a26417..5b367015af 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. |