Skip to content
  • Jakob Stoklund Olesen's avatar
    Teach PHIElimination to handle <undef> operands. · 70ed924e
    Jakob Stoklund Olesen authored
    When a PHI use is <undef>, don't emit a copy in the predecessor block,
    but insert an IMPLICIT_DEF instruction instead. This ensures that
    virtual register uses are always jointly dominated by defs, even if some
    of them are IMPLICIT_DEF.
    
    llvm-svn: 159121
    70ed924e
Loading