projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a05bb6b
)
Fix -join-splitedges: my previous "cleanup" broke it.
author
Andrew Trick
<atrick@apple.com>
Tue, 13 Nov 2012 17:37:46 +0000
(17:37 +0000)
committer
Andrew Trick
<atrick@apple.com>
Tue, 13 Nov 2012 17:37:46 +0000
(17:37 +0000)
Working on reducing unit tests.
This won't be enabled unless a subtarget enables misched.
llvm-svn: 167851
llvm/lib/CodeGen/RegisterCoalescer.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/RegisterCoalescer.cpp
b/llvm/lib/CodeGen/RegisterCoalescer.cpp
index
8e6533c
..
5ec0aec
100644
(file)
--- a/
llvm/lib/CodeGen/RegisterCoalescer.cpp
+++ b/
llvm/lib/CodeGen/RegisterCoalescer.cpp
@@
-253,7
+253,7
@@
static bool isSplitEdge(const MachineBasicBlock *MBB) {
for (MachineBasicBlock::const_iterator MII = MBB->begin(), E = MBB->end();
MII != E; ++MII) {
- if (!MII->isCopyLike()
||
!MII->isUnconditionalBranch())
+ if (!MII->isCopyLike()
&&
!MII->isUnconditionalBranch())
return false;
}
return true;