Skip to content
  • Duncan Sands's avatar
    Remove dead code in GVN: now that SimplifyInstruction is called · 72313843
    Duncan Sands authored
    systematically, CollapsePhi will always return null here.  Note
    that CollapsePhi did an extra check, isSafeReplacement, which
    the SimplifyInstruction logic does not do.  I think that check
    was bogus - I guess we will soon find out!  (It was originally
    added in commit 41998 without a testcase).
    
    llvm-svn: 119456
    72313843
Loading