Skip to content
  1. Dec 25, 2008
  2. Dec 24, 2008
  3. Dec 23, 2008
  4. Dec 18, 2008
  5. Dec 12, 2008
  6. Dec 10, 2008
  7. Dec 09, 2008
  8. Dec 05, 2008
  9. Dec 03, 2008
  10. Dec 02, 2008
  11. Dec 01, 2008
    • Duncan Sands's avatar
      There are no longer any places that require a · 3d960941
      Duncan Sands authored
      MERGE_VALUES node with only one operand, so get
      rid of special code that only existed to handle
      that possibility.
      
      llvm-svn: 60349
      3d960941
    • Duncan Sands's avatar
      Change the interface to the type legalization method · 6ed40141
      Duncan Sands authored
      ReplaceNodeResults: rather than returning a node which
      must have the same number of results as the original
      node (which means mucking around with MERGE_VALUES,
      and which is also easy to get wrong since SelectionDAG
      folding may mean you don't get the node you expect),
      return the results in a vector.
      
      llvm-svn: 60348
      6ed40141
  12. Nov 27, 2008
  13. Nov 26, 2008
  14. Nov 24, 2008
  15. Nov 23, 2008
  16. Nov 13, 2008
  17. Nov 06, 2008
  18. Nov 05, 2008
  19. Oct 31, 2008
  20. Oct 30, 2008
  21. Oct 28, 2008
  22. Oct 24, 2008
    • Duncan Sands's avatar
      Fix translateX86CC: if SetCCOpcode is SETULE and · 014f5bba
      Duncan Sands authored
      LHS is a foldable load, then LHS and RHS are swapped
      and SetCCOpcode is changed to SETUGT.  But the later
      code is expecting operands to be the wrong way round
      for SETUGT, but they are not in this case, resulting
      in an inverted compare.  The solution is to move the
      load normalization before the correction for SETUGT.
      This bug was tickled by LegalizeTypes which happened
      to legalize the testcase slightly differently to
      LegalizeDAG.
      
      llvm-svn: 58092
      014f5bba
  23. Oct 22, 2008
  24. Oct 21, 2008
    • Dale Johannesen's avatar
      Add an SSE2 algorithm for uint64->f64 conversion. · 28929589
      Dale Johannesen authored
      The same one Apple gcc uses, faster.  Also gets the
      extreme case in gcc.c-torture/execute/ieee/rbug.c
      correct which we weren't before; this is not
      sufficient to get the test to pass though, there
      is another bug.
      
      llvm-svn: 57926
      28929589
    • Dan Gohman's avatar
      Don't create TargetGlobalAddress nodes with offsets that don't fit · 269246b0
      Dan Gohman authored
      in the 32-bit signed offset field of addresses. Even though this
      may be intended, some linkers refuse to relocate code where the
      relocated address computation overflows.
      
      Also, fix the sign-extension of constant offsets to use the
      actual pointer size, rather than the size of the GlobalAddress
      node, which may be different, for example on x86-64 where MVT::i32
      is used when the address is being fit into the 32-bit displacement
      field.
      
      llvm-svn: 57885
      269246b0
    • Dan Gohman's avatar
      Optimized FCMP_OEQ and FCMP_UNE for x86. · 97d95d6d
      Dan Gohman authored
      Where previously LLVM might emit code like this:
      
              ucomisd %xmm1, %xmm0
              setne   %al
              setp    %cl
              orb     %al, %cl
              jne     .LBB4_2
      
      it now emits this:
      
              ucomisd %xmm1, %xmm0
              jne     .LBB4_2
              jp      .LBB4_2
      
      It has fewer instructions and uses fewer registers, but it does
      have more branches. And in the case that this code is followed by
      a non-fallthrough edge, it may be followed by a jmp instruction,
      resulting in three branch instructions in sequence. Some effort
      is made to avoid this situation.
      
      To achieve this, X86ISelLowering.cpp now recognizes FCMP_OEQ and
      FCMP_UNE in lowered form, and replace them with code that emits
      two branches, except in the case where it would require converting
      a fall-through edge to an explicit branch.
      
      Also, X86InstrInfo.cpp's branch analysis and transform code now
      knows now to handle blocks with multiple conditional branches. It
      uses loops instead of having fixed checks for up to two
      instructions. It can now analyze and transform code generated
      from FCMP_OEQ and FCMP_UNE.
      
      llvm-svn: 57873
      97d95d6d
  25. Oct 20, 2008
    • Duncan Sands's avatar
      Have X86 custom lowering for LegalizeTypes use · 1d20ab57
      Duncan Sands authored
      LowerOperation if it doesn't know what else to do.
      This methods should probably be factorized some,
      but this is good enough for the moment.  Have
      LowerATOMIC_BINARY_64 use EXTRACT_ELEMENT rather
      than assuming the operand is a BUILD_PAIR (if it
      is then getNode will automagically simplify the
      EXTRACT_ELEMENT).  This way LowerATOMIC_BINARY_64
      usable from LegalizeTypes.
      
      llvm-svn: 57831
      1d20ab57
Loading