Skip to content
  • Jakob Stoklund Olesen's avatar
    Add an MF argument to TRI::getPointerRegClass() and TII::getRegClass(). · 3c52f028
    Jakob Stoklund Olesen authored
    The getPointerRegClass() hook can return register classes that depend on
    the calling convention of the current function (ptr_rc_tailcall).
    
    So far, we have been able to infer the calling convention from the
    subtarget alone, but as we add support for multiple calling conventions
    per target, that no longer works.
    
    Patch by Yiannis Tsiouris!
    
    llvm-svn: 156328
    3c52f028
Loading