Skip to content
  • Dan Gohman's avatar
    Move the point at which FastISel taps into the SelectionDAGISel · eb0cee91
    Dan Gohman authored
    process up to a higher level. This allows FastISel to leverage
    more of SelectionDAGISel's infastructure, such as updating Machine
    PHI nodes.
    
    Also, implement transitioning from SDISel back to FastISel in
    the middle of a block, so it's now possible to go back and
    forth. This allows FastISel to hand individual CallInsts and other
    complicated things off to SDISel to handle, while handling the rest
    of the block itself.
    
    To help support this, reorganize the SelectionDAG class so that it
    is allocated once and reused throughout a function, instead of
    being completely reallocated for each block.
    
    llvm-svn: 55219
    eb0cee91
Loading