mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-19 18:26:28 +00:00
Fix -join-splitedges: my previous "cleanup" broke it.
Working on reducing unit tests. This won't be enabled unless a subtarget enables misched. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167851 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fc298c76c7
commit
2344abc939
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user