mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +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:
		@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user