Skip to content
  1. Apr 14, 2009
    • Daniel Dunbar's avatar
      Make these errors more noticable in build logs. · 097f630d
      Daniel Dunbar authored
      llvm-svn: 68998
      097f630d
    • Bob Wilson's avatar
      Change SelectionDAG type legalization to allow BUILD_VECTOR operands to be · 59dbbb2b
      Bob Wilson authored
      promoted to legal types without changing the type of the vector.  This is
      following a suggestion from Duncan
      (http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-February/019923.html).
      The transformation that used to be done during type legalization is now
      postponed to DAG legalization.  This allows the BUILD_VECTORs to be optimized
      and potentially handled specially by target-specific code.
      
      It turns out that this is also consistent with an optimization done by the
      DAG combiner: a BUILD_VECTOR and INSERT_VECTOR_ELT may be combined by
      replacing one of the BUILD_VECTOR operands with the newly inserted element;
      but INSERT_VECTOR_ELT allows its scalar operand to be larger than the
      element type, with any extra high bits being implicitly truncated.  The
      result is a BUILD_VECTOR where one of the operands has a type larger the
      the vector element type.
      
      Any code that operates on BUILD_VECTORs may now need to be aware of the
      potential type discrepancy between the vector element type and the
      BUILD_VECTOR operands.  This patch updates all of the places that I could
      find to handle that case.
      
      llvm-svn: 68996
      59dbbb2b
  2. Apr 13, 2009
  3. Apr 12, 2009
  4. Apr 11, 2009
  5. Apr 10, 2009
  6. Apr 09, 2009
  7. Apr 08, 2009
    • Duncan Sands's avatar
      Soft float support for FREM. · 5a82613d
      Duncan Sands authored
      llvm-svn: 68614
      5a82613d
    • Duncan Sands's avatar
      Soft float support for undef. Reported by Xerxes Rånby. · fb438caa
      Duncan Sands authored
      llvm-svn: 68607
      fb438caa
    • Chris Lattner's avatar
      change printStringChar to emit characters as unsigned char instead of char, · 69b586e5
      Chris Lattner authored
      avoiding sign extension for the top octet.  For "negative" chars, we'd print
      stuff like:
      
      .asciz	"\702...
      now we print:
      .asciz	"\302...
      
      llvm-svn: 68577
      69b586e5
    • Dan Gohman's avatar
      Implement support for using modeling implicit-zero-extension on x86-64 · ad3e549a
      Dan Gohman authored
      with SUBREG_TO_REG, teach SimpleRegisterCoalescing to coalesce
      SUBREG_TO_REG instructions (which are similar to INSERT_SUBREG
      instructions), and teach the DAGCombiner to take advantage of this on
      targets which support it. This eliminates many redundant
      zero-extension operations on x86-64.
      
      This adds a new TargetLowering hook, isZExtFree. It's similar to
      isTruncateFree, except it only applies to actual definitions, and not
      no-op truncates which may not zero the high bits.
      
      Also, this adds a new optimization to SimplifyDemandedBits: transform
      operations like x+y into (zext (add (trunc x), (trunc y))) on targets
      where all the casts are no-ops. In contexts where the high part of the
      add is explicitly masked off, this allows the mask operation to be
      eliminated. Fix the DAGCombiner to avoid undoing these transformations
      to eliminate casts on targets where the casts are no-ops.
      
      Also, this adds a new two-address lowering heuristic. Since
      two-address lowering runs before coalescing, it helps to be able to
      look through copies when deciding whether commuting and/or
      three-address conversion are profitable.
      
      Also, fix a bug in LiveInterval::MergeInClobberRanges. It didn't handle
      the case that a clobber range extended both before and beyond an
      existing live range. In that case, multiple live ranges need to be
      added. This was exposed by the new subreg coalescing code.
      
      Remove 2008-05-06-SpillerBug.ll. It was bugpoint-reduced, and the
      spiller behavior it was looking for no longer occurrs with the new
      instruction selection.
      
      llvm-svn: 68576
      ad3e549a
    • Devang Patel's avatar
      Revert prev. patch for now. · 10f7c3de
      Devang Patel authored
      llvm-svn: 68569
      10f7c3de
    • Devang Patel's avatar
      Right now DBG_LABEL are required for llvm.dbg.region_start and... · ddafc03e
      Devang Patel authored
      Right now DBG_LABEL are required for llvm.dbg.region_start and llvm.dbg.region_end in non-fast mode also.
      
      llvm-svn: 68559
      ddafc03e
  8. Apr 07, 2009
Loading