projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
057d539
)
Don't make changes to the MBB in MachineBasicBlock::canFallThrough().
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 15 Jan 2010 20:00:12 +0000
(20:00 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 15 Jan 2010 20:00:12 +0000
(20:00 +0000)
This fixes the regression for -pre-regalloc-taildup in
MultiSource/Applications/lambda-0.1.3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93541
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineBasicBlock.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineBasicBlock.cpp
b/lib/CodeGen/MachineBasicBlock.cpp
index e2ce642cfd6da8bbfd4fcfdf3dbd4ac7b63ed29e..124f793962cdf747e40d4840b05be64bd517772d 100644
(file)
--- a/
lib/CodeGen/MachineBasicBlock.cpp
+++ b/
lib/CodeGen/MachineBasicBlock.cpp
@@
-378,7
+378,7
@@
bool MachineBasicBlock::canFallThrough() {
MachineBasicBlock *TBB = 0, *FBB = 0;
SmallVector<MachineOperand, 4> Cond;
const TargetInstrInfo *TII = getParent()->getTarget().getInstrInfo();
- if (TII->AnalyzeBranch(*this, TBB, FBB, Cond
, true
)) {
+ if (TII->AnalyzeBranch(*this, TBB, FBB, Cond)) {
// If we couldn't analyze the branch, examine the last instruction.
// If the block doesn't end in a known control barrier, assume fallthrough
// is possible. The isPredicable check is needed because this code can be