Skip to content
  • Dan Gohman's avatar
    Make tail merging handle blocks with repeated predecessors correctly, and · a41fa359
    Dan Gohman authored
    remove RemoveDuplicateSuccessor, as it is no longer necessary, and because
    it breaks assumptions made in
    MachineBasicBlock::isOnlyReachableByFallthrough.
    
    Convert test/CodeGen/X86/omit-label.ll to FileCheck and add a testcase
    for PR4732.
    
    test/CodeGen/Thumb2/thumb2-ifcvt2.ll sees a diff with this commit due to
    it being bugpoint-reduced to the point where it doesn't matter what the
    condition for the branch is.
    
    Add some more interesting code to
    test/CodeGen/X86/2009-08-06-branchfolder-crash.ll, which is the testcase
    that originally motivated the RemoveDuplicateSuccessor code, to help
    verify that the original problem isn't being re-broken.
    
    llvm-svn: 79338
    a41fa359
Loading