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 | e03e0059495aa6014549b462028ff9f383d830c8 (patch) | |
tree | e413a443d9b2d530977790ca231a68dcf2c48c4d /include/llvm/Transforms | |
parent | 3a0536198e7f0005c1d199ba635f9f9984a7c0f2 (diff) | |
download | external_llvm-e03e0059495aa6014549b462028ff9f383d830c8.zip external_llvm-e03e0059495aa6014549b462028ff9f383d830c8.tar.gz external_llvm-e03e0059495aa6014549b462028ff9f383d830c8.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')
-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. |