Skip to content
  1. Apr 02, 2007
    • Reid Spencer's avatar
      For PR1297: · fad9bd6b
      Reid Spencer authored
      Make sure that the CTPOP result is casted to i32 as the bit counting
      intrinsics all return i32 now (this affects CTLZ and CTTZ as well).
      
      llvm-svn: 35567
      fad9bd6b
  2. Apr 01, 2007
    • Reid Spencer's avatar
      For PR1297: · 6bba6c81
      Reid Spencer authored
      Support overloaded intrinsics bswap, ctpop, cttz, ctlz.
      
      llvm-svn: 35547
      6bba6c81
  3. Mar 01, 2007
  4. Feb 28, 2007
  5. Feb 22, 2007
  6. Feb 21, 2007
  7. Feb 13, 2007
  8. Feb 06, 2007
  9. Feb 02, 2007
  10. Jan 30, 2007
  11. Jan 29, 2007
  12. Jan 28, 2007
    • Reid Spencer's avatar
      For PR1138: · c7765617
      Reid Spencer authored
      Force memcpy to be the 32-bit variant. Since this is only used with
      CBE and lli which both target 32-bit machines, this should be okay.
      
      llvm-svn: 33608
      c7765617
  13. Jan 15, 2007
  14. Jan 07, 2007
  15. Dec 31, 2006
    • Reid Spencer's avatar
      For PR950: · e63b6518
      Reid Spencer authored
      Three changes:
      1. Convert signed integer types to signless versions.
      2. Implement the @sext and @zext parameter attributes. Previously the
         type of an function parameter was used to determine whether it should
         be sign extended or zero extended before the call. This information is
         now communicated via the function type's parameter attributes.
      3. The interface to LowerCallTo had to be changed in order to accommodate
         the parameter attribute information. Although it would have been
         convenient to pass in the FunctionType itself, there isn't always one
         present in the caller. Consequently, a signedness indication for the
         result type and for each parameter was provided for in the interface
         to this method. All implementations were changed to make the adjustment
         necessary.
      
      llvm-svn: 32788
      e63b6518
  16. Dec 23, 2006
    • Reid Spencer's avatar
      For PR950: · 266e42b3
      Reid Spencer authored
      This patch removes the SetCC instructions and replaces them with the ICmp
      and FCmp instructions. The SetCondInst instruction has been removed and
      been replaced with ICmpInst and FCmpInst.
      
      llvm-svn: 32751
      266e42b3
  17. Dec 21, 2006
  18. Dec 18, 2006
  19. Dec 12, 2006
  20. Dec 07, 2006
  21. Nov 28, 2006
  22. Nov 27, 2006
    • Reid Spencer's avatar
      For PR950: · 6c38f0bb
      Reid Spencer authored
      The long awaited CAST patch. This introduces 12 new instructions into LLVM
      to replace the cast instruction. Corresponding changes throughout LLVM are
      provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
      exception of 175.vpr which fails only on a slight floating point output
      difference.
      
      llvm-svn: 31931
      6c38f0bb
  23. Nov 15, 2006
  24. Nov 08, 2006
    • Reid Spencer's avatar
      For PR950: · fdff938a
      Reid Spencer authored
      This patch converts the old SHR instruction into two instructions,
      AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not
      dependent on the sign of their operands.
      
      llvm-svn: 31542
      fdff938a
  25. Oct 20, 2006
    • Reid Spencer's avatar
      For PR950: · e0fc4dfc
      Reid Spencer authored
      This patch implements the first increment for the Signless Types feature.
      All changes pertain to removing the ConstantSInt and ConstantUInt classes
      in favor of just using ConstantInt.
      
      llvm-svn: 31063
      e0fc4dfc
  26. Mar 23, 2006
  27. Mar 13, 2006
  28. Mar 09, 2006
  29. Mar 03, 2006
  30. Jan 16, 2006
    • Reid Spencer's avatar
      For PR411: · b4f9a6f1
      Reid Spencer authored
      This patch is an incremental step towards supporting a flat symbol table.
      It de-overloads the intrinsic functions by providing type-specific intrinsics
      and arranging for automatically upgrading from the old overloaded name to
      the new non-overloaded name. Specifically:
        llvm.isunordered -> llvm.isunordered.f32, llvm.isunordered.f64
        llvm.sqrt -> llvm.sqrt.f32, llvm.sqrt.f64
        llvm.ctpop -> llvm.ctpop.i8, llvm.ctpop.i16, llvm.ctpop.i32, llvm.ctpop.i64
        llvm.ctlz -> llvm.ctlz.i8, llvm.ctlz.i16, llvm.ctlz.i32, llvm.ctlz.i64
        llvm.cttz -> llvm.cttz.i8, llvm.cttz.i16, llvm.cttz.i32, llvm.cttz.i64
      New code should not use the overloaded intrinsic names. Warnings will be
      emitted if they are used.
      
      llvm-svn: 25366
      b4f9a6f1
    • Nate Begeman's avatar
      Add BSWAP stuff to intrinsic lowering for CBE & friends. · 7d831fa5
      Nate Begeman authored
      llvm-svn: 25355
      7d831fa5
  31. Jan 13, 2006
  32. Nov 11, 2005
  33. Oct 23, 2005
    • Jeff Cohen's avatar
      When a function takes a variable number of pointer arguments, with a zero · 11e26b52
      Jeff Cohen authored
      pointer marking the end of the list, the zero *must* be cast to the pointer
      type.  An un-cast zero is a 32-bit int, and at least on x86_64, gcc will
      not extend the zero to 64 bits, thus allowing the upper 32 bits to be
      random junk.
      
      The new END_WITH_NULL macro may be used to annotate a such a function
      so that GCC (version 4 or newer) will detect the use of un-casted zero
      at compile time.
      
      llvm-svn: 23888
      11e26b52
Loading