Skip to content
  1. Jan 31, 2007
  2. Jan 30, 2007
  3. Jan 28, 2007
    • Anton Korobeynikov's avatar
      Propagate changes from my local tree. This patch includes: · 037c867b
      Anton Korobeynikov authored
      1. New parameter attribute called 'inreg'. It has meaning "place this
      parameter in registers, if possible". This is some generalization of
      gcc's regparm(n) attribute. It's currently used only in X86-32 backend.
      2. Completely rewritten CC handling/lowering code inside X86 backend.
      Merged stdcall + c CCs and fastcall + fast CC.
      3. Dropped CSRET CC. We cannot add struct return variant for each
      target-specific CC (e.g. stdcall + csretcc and so on).
      4. Instead of CSRET CC introduced 'sret' parameter attribute. Setting in
      on first attribute has meaning 'This is hidden pointer to structure
      return. Handle it gently'.
      5. Fixed small bug in llvm-extract + add new feature to
      FunctionExtraction pass, which relinks all internal-linkaged callees
      from deleted function to external linkage. This will allow further
      linking everything together.
      
      NOTEs: 1. Documentation will be updated soon.
             2. llvm-upgrade should be improved to translate csret => sret.
                Before this, there will be some unexpected test fails.
      llvm-svn: 33597
      037c867b
  4. Jan 26, 2007
  5. Jan 25, 2007
  6. Jan 21, 2007
    • Reid Spencer's avatar
      For PR970: · 2eadb531
      Reid Spencer authored
      Clean up handling of isFloatingPoint() and dealing with PackedType.
      Patch by Gordon Henriksen!
      
      llvm-svn: 33415
      2eadb531
  7. Jan 20, 2007
  8. Jan 19, 2007
    • Reid Spencer's avatar
      For PR1043: · a94d394a
      Reid Spencer authored
      This is the final patch for this PR. It implements some minor cleanup
      in the use of IntegerType, to wit:
      1. Type::getIntegerTypeMask -> IntegerType::getBitMask
      2. Type::Int*Ty changed to IntegerType* from Type*
      3. ConstantInt::getType() returns IntegerType* now, not Type*
      
      This also fixes PR1120.
      
      Patch by Sheng Zhou.
      
      llvm-svn: 33370
      a94d394a
  9. Jan 15, 2007
  10. Jan 12, 2007
    • Chris Lattner's avatar
      Remove over-general comparisons · 3b6058c2
      Chris Lattner authored
      llvm-svn: 33147
      3b6058c2
    • Chris Lattner's avatar
      Branch conditions must be i1 · 15649084
      Chris Lattner authored
      llvm-svn: 33129
      15649084
    • Reid Spencer's avatar
      For PR1064: · 7a9c62ba
      Reid Spencer authored
      Implement the arbitrary bit-width integer feature. The feature allows
      integers of any bitwidth (up to 64) to be defined instead of just 1, 8,
      16, 32, and 64 bit integers.
      
      This change does several things:
      1. Introduces a new Derived Type, IntegerType, to represent the number of
         bits in an integer. The Type classes SubclassData field is used to
         store the number of bits. This allows 2^23 bits in an integer type.
      2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and
         64-bit integers. These are replaced with just IntegerType which is not
         a primitive any more.
      3. Adjust the rest of LLVM to account for this change.
      
      Note that while this incremental change lays the foundation for arbitrary
      bit-width integers, LLVM has not yet been converted to actually deal with
      them in any significant way. Most optimization passes, for example, will
      still only deal with the byte-width integer types.  Future increments
      will rectify this situation.
      
      llvm-svn: 33113
      7a9c62ba
    • Reid Spencer's avatar
      Implement review feedback for the ConstantBool->ConstantInt merge. Chris · cddc9dfe
      Reid Spencer authored
      recommended that getBoolValue be replaced with getZExtValue and that
      get(bool) be replaced by get(const Type*, uint64_t). This implements
      those changes.
      
      llvm-svn: 33110
      cddc9dfe
  11. Jan 11, 2007
  12. Jan 10, 2007
  13. Jan 07, 2007
  14. Jan 06, 2007
    • Reid Spencer's avatar
      For PR411: · 32af9e8c
      Reid Spencer authored
      Take an incremental step towards type plane elimination. This change
      separates types from values in the symbol tables by finally making use
      of the TypeSymbolTable class. This yields more natural interfaces for
      dealing with types and unclutters the SymbolTable class.
      
      llvm-svn: 32956
      32af9e8c
  15. Dec 31, 2006
    • Reid Spencer's avatar
      For PR950: · c635f47d
      Reid Spencer authored
      This patch replaces signed integer types with signless ones:
      1. [US]Byte -> Int8
      2. [U]Short -> Int16
      3. [U]Int   -> Int32
      4. [U]Long  -> Int64.
      5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion
         and other methods related to signedness. In a few places this warranted
         identifying the signedness information from other sources.
      
      llvm-svn: 32785
      c635f47d
  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 20, 2006
  19. Dec 19, 2006
  20. Dec 16, 2006
  21. Dec 13, 2006
  22. Dec 12, 2006
  23. Dec 07, 2006
  24. Dec 06, 2006
  25. Nov 30, 2006
  26. 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
Loading