Skip to content
  1. Jan 22, 2009
  2. Jan 21, 2009
  3. Jan 20, 2009
  4. Jan 19, 2009
    • Evan Cheng's avatar
      DIVREM isel deficiency: If sign bit is known zero, zero out DX/EDX/RDX instead... · 44cc5543
      Evan Cheng authored
      DIVREM isel deficiency: If sign bit is known zero, zero out DX/EDX/RDX instead of sign extending the low part (in AX/EAX/RAX) into it.
      
      llvm-svn: 62519
      44cc5543
    • Evan Cheng's avatar
      Fix 80 col violations. · 0346c04f
      Evan Cheng authored
      llvm-svn: 62518
      0346c04f
    • Evan Cheng's avatar
      Handle ISD::DECLARE with PIC relocation model. · 6c024982
      Evan Cheng authored
      llvm-svn: 62516
      6c024982
    • 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
  5. Jan 17, 2009
  6. Jan 16, 2009
  7. Jan 15, 2009
  8. Jan 14, 2009
    • Richard Osborne's avatar
      Add pseudo instructions to the XCore for (load|store|load address) of a · 4359325b
      Richard Osborne authored
      frame index. eliminateFrameIndex will replace these instructions with
      (LDWSP|STWSP|LDAWSP) or (LDW|STW|LDAWF) if a frame pointer is in use.
      
      This fixes PR 3324. Previously we used LDWSP, STWSP, LDAWSP before frame
      pointer elimination. However since they were marked as implicitly using
      SP they could not be rematerialised.
      
      llvm-svn: 62238
      4359325b
    • Nuno Lopes's avatar
      fix memleaks · b0a78f8f
      Nuno Lopes authored
      llvm-svn: 62198
      b0a78f8f
Loading