Skip to content
  • Duncan Sands's avatar
    TryToSimplifyUncondBranchFromEmptyBlock was checking that any common · e773c080
    Duncan Sands authored
    predecessors of the two blocks it is attempting to merge supply the
    same incoming values to any phi in the successor block.  This change
    allows merging in the case where there is one or more incoming values
    that are undef.  The undef values are rewritten to match the non-undef
    value that flows from the other edge.  Patch by Mark Lacey.
    
    llvm-svn: 186069
    e773c080
Loading