Skip to content
  1. Aug 28, 2008
    • Dan Gohman's avatar
      Reorganize the lifetimes of the major objects SelectionDAGISel · e1a9a780
      Dan Gohman authored
      works with.
      
      SelectionDAG, FunctionLoweringInfo, and SelectionDAGLowering
      objects now get created once per SelectionDAGISel instance, and
      can be reused across blocks and across functions. Previously,
      they were created and destroyed each time they were needed.
      
      This reorganization simplifies the handling of PHI nodes, and
      also SwitchCases, JumpTables, and BitTestBlocks. This
      simplification has the side effect of fixing a bug in FastISel
      where successor PHI nodes weren't being updated correctly.
      
      This is also a step towards making the transition from FastISel
      into and out of SelectionDAG faster, and also making
      plain SelectionDAG faster on code with lots of little blocks.
      
      llvm-svn: 55450
      e1a9a780
    • Owen Anderson's avatar
  2. Aug 27, 2008
  3. Aug 26, 2008
Loading