Skip to content
  1. Nov 04, 2009
    • Lang Hames's avatar
      The Indexes Patch. · 05fb9637
      Lang Hames authored
      This introduces a new pass, SlotIndexes, which is responsible for numbering
      instructions for register allocation (and other clients). SlotIndexes numbering
      is designed to match the existing scheme, so this patch should not cause any
      changes in the generated code.
      
      For consistency, and to avoid naming confusion, LiveIndex has been renamed
      SlotIndex.
      
      The processImplicitDefs method of the LiveIntervals analysis has been moved
      into its own pass so that it can be run prior to SlotIndexes. This was
      necessary to match the existing numbering scheme.
      
      llvm-svn: 85979
      05fb9637
    • Bob Wilson's avatar
      Fix branch folding bug for indirect branches: for a block containing only · 53a31ad3
      Bob Wilson authored
      an unconditional branch (possibly from tail merging), this code is
      trying to redirect all of its predecessors to go directly to the branch
      target, but that isn't feasible for indirect branches.  The other
      predecessors (that don't end with indirect branches) could theoretically
      still be handled, but that is not easily done right now.
      
      The AnalyzeBranch interface doesn't currently let us distinguish jump table
      branches from indirect branches, and this code is currently handling
      jump tables.  To avoid punting on address-taken blocks, we would have to give
      up handling jump tables.  That seems like a bad tradeoff.
      
      llvm-svn: 85975
      53a31ad3
  2. Nov 03, 2009
  3. Nov 02, 2009
  4. Oct 31, 2009
  5. Oct 30, 2009
  6. Oct 29, 2009
Loading