Skip to content
  1. Oct 22, 2007
    • Duncan Sands's avatar
      Support for expanding extending loads of integers with · 941db4da
      Duncan Sands authored
      funky bit-widths.
      
      llvm-svn: 43225
      941db4da
    • Duncan Sands's avatar
      Fix up the logic for result expanding the various extension · 8fc99506
      Duncan Sands authored
      operations so they work right for integers with funky
      bit-widths.  For example, consider extending i48 to i64
      on a 32 bit machine.  The i64 result is expanded to 2 x i32.
      We know that the i48 operand will be promoted to i64, then
      also expanded to 2 x i32.  If we had the expanded promoted
      operand to hand, then expanding the result would be trivial.
      Unfortunately at this stage we can only get hold of the
      promoted operand.  So instead we kind of hand-expand, doing
      explicit shifting and truncating to get the top and bottom
      halves of the i64 operand into 2 x i32, which are then used
      to expand the result.  This is harmless, because when the
      promoted operand is finally expanded all this bit fiddling
      turns into trivial operations which are eliminated either
      by the expansion code itself or the DAG combiner.
      
      llvm-svn: 43223
      8fc99506
    • Evan Cheng's avatar
      - Only perform the unfolding optimization when the folding in question is modref. · 85576037
      Evan Cheng authored
      - Remove a bogus assertion.
      
      llvm-svn: 43211
      85576037
  2. Oct 21, 2007
  3. Oct 20, 2007
  4. Oct 19, 2007
  5. Oct 18, 2007
  6. Oct 17, 2007
  7. Oct 16, 2007
Loading