Skip to content
  1. Jan 26, 2009
  2. Jan 22, 2009
  3. Jan 19, 2009
    • Evan Cheng's avatar
      Minor tweak to LowerUINT_TO_FP_i32. Bias (after scalar_to_vector) has two uses... · 8f367e53
      Evan Cheng authored
      Minor tweak to LowerUINT_TO_FP_i32. Bias (after scalar_to_vector) has two uses so we should make it the second source operand of ISD::OR so 2-address pass won't have to be smart about commuting.
      
      %reg1024<def> = MOVSDrm %reg0, 1, %reg0, <cp#0>, Mem:LD(8,8) [ConstantPool + 0]
      %reg1025<def> = MOVSD2PDrr %reg1024
      %reg1026<def> = MOVDI2PDIrm <fi#-1>, 1, %reg0, 0, Mem:LD(4,16) [FixedStack-1 + 0]
      %reg1027<def> = ORPSrr %reg1025<kill>, %reg1026<kill>
      %reg1028<def> = MOVPD2SDrr %reg1027<kill>
      %reg1029<def> = SUBSDrr %reg1028<kill>, %reg1024<kill>
      %reg1030<def> = CVTSD2SSrr %reg1029<kill>
      MOVSSmr <fi#0>, 1, %reg0, 0, %reg1030<kill>, Mem:ST(4,4) [FixedStack0 + 0]
      %reg1031<def> = LD_Fp32m80 <fi#0>, 1, %reg0, 0, Mem:LD(4,16) [FixedStack0 + 0]
      RET %reg1031<kill>, %ST0<imp-use,kill>
      
      The reason 2-addr pass isn't smart enough to commute the ORPSrr is because it can't look pass the MOVSD2PDrr instruction.
      
      llvm-svn: 62505
      8f367e53
    • Evan Cheng's avatar
      Now not UINT_TO_FP is legal (it's marked custom), dag combiner won't · 7e9ef4d7
      Evan Cheng authored
      optimize it to a SINT_TO_FP when the sign bit is known zero. X86 isel should perform the optimization itself.
      
      llvm-svn: 62504
      7e9ef4d7
  4. Jan 17, 2009
  5. Jan 16, 2009
  6. Jan 15, 2009
  7. Jan 14, 2009
  8. Jan 13, 2009
    • Devang Patel's avatar
      · 5c6e1e3b
      Devang Patel authored
      Use DebugInfo interface to lower dbg_* intrinsics.
      
      llvm-svn: 62127
      5c6e1e3b
  9. Jan 07, 2009
  10. Jan 05, 2009
    • Devang Patel's avatar
      · 56a8bb67
      Devang Patel authored
      squash warnings.
      
      llvm-svn: 61707
      56a8bb67
  11. Jan 02, 2009
  12. Jan 01, 2009
    • Duncan Sands's avatar
      Fix PR3274: when promoting the condition of a BRCOND node, · 8feb694e
      Duncan Sands authored
      promote from i1 all the way up to the canonical SetCC type.
      In order to discover an appropriate type to use, pass
      MVT::Other to getSetCCResultType.  In order to be able to
      do this, change getSetCCResultType to take a type as an
      argument, not a value (this is also more logical).
      
      llvm-svn: 61542
      8feb694e
  13. Dec 25, 2008
  14. Dec 24, 2008
  15. Dec 23, 2008
  16. Dec 18, 2008
  17. Dec 12, 2008
  18. Dec 10, 2008
  19. Dec 09, 2008
  20. Dec 05, 2008
  21. Dec 03, 2008
  22. Dec 02, 2008
  23. 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
  24. Nov 27, 2008
  25. Nov 26, 2008
Loading