Skip to content
  • David Blaikie's avatar
    DebugInfo: Don't lose unreferenced non-trivial by-value parameters · 97c6c5bd
    David Blaikie authored
    A FastISel optimization was causing us to emit no information for such
    parameters & when they go missing we end up emitting a different
    function type. By avoiding that shortcut we not only get types correct
    (very important) but also location information (handy) - even if it's
    only live at the start of a function & may be clobbered later.
    
    Reviewed/discussion by Evan Cheng & Dan Gohman.
    
    llvm-svn: 184604
    97c6c5bd
Loading