Skip to content
  1. Jan 16, 2007
  2. Jan 15, 2007
  3. Jan 14, 2007
  4. Jan 13, 2007
  5. Jan 12, 2007
    • Chris Lattner's avatar
      remove obsolete fixme · afdee206
      Chris Lattner authored
      llvm-svn: 33151
      afdee206
    • Lauro Ramos Venancio's avatar
      Don't add or sub zero to sp. · 901d9e65
      Lauro Ramos Venancio authored
      llvm-svn: 33142
      901d9e65
    • Lauro Ramos Venancio's avatar
      Build constants using instructions mov/orr or mvn/eor. · c4235e55
      Lauro Ramos Venancio authored
      llvm-svn: 33141
      c4235e55
    • Anton Korobeynikov's avatar
      * PIC codegen for X86/Linux has been implemented · a0554d90
      Anton Korobeynikov authored
      * PIC-aware internal structures in X86 Codegen have been refactored
      * Visibility (default/weak) has been added
      * Docs fixes (external weak linkage, visibility, formatting)
      
      llvm-svn: 33136
      a0554d90
    • Evan Cheng's avatar
      Comment. · a557a002
      Evan Cheng authored
      llvm-svn: 33114
      a557a002
    • 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
  6. Jan 11, 2007
  7. Jan 10, 2007
  8. Jan 09, 2007
    • Reid Spencer's avatar
      For PR1099: · 1fc9be30
      Reid Spencer authored
      Invert the "isSigned" logic in calls to printType and printPrimitiveType.
      We want variables to be declared unsigned by default so that signless
      operators like + and - perform the unsigned operation that LLVM expects
      by default. Parameters with the sext attribute will be declared signed and
      signed instructions will case operand values to signed regardless of the
      type of the variable. This passes all tests and fixes PR1099.
      
      llvm-svn: 33039
      1fc9be30
    • Reid Spencer's avatar
      For PR1099: · bf38bf71
      Reid Spencer authored
      Partial fix for this PR. Default function parameters to signed integer, just
      like everything else in CBE. The bug was caused by incorrectly introducing
      parameter attributes feature by choosing "signed" parameter if the
      SExtAttribute was specified. Howeer, if no attribute is specified, this
      causes it to become unsigned which is incorrect. Reversing the logic so
      that signedness is detected by "not ZExtAttribute" set fixes the issue.
      
      This fixes 197.parser but there is more to do. Any comparison and possibly
      other operators involving arguments may need to correctly cast the parameter
      before its use, depending on the sign of the operator.
      
      llvm-svn: 33034
      bf38bf71
  9. Jan 08, 2007
    • Reid Spencer's avatar
      For PR1090: · c0b86d5d
      Reid Spencer authored
      Clean up the definitions of the helper functions per Chris' review
      suggestions so they are easier to read.
      
      For PR1091:
      Print minimum signed integer values as unsigned so that we get no warnings
      from the C compiler about constant ranges and value comparisons.
      
      llvm-svn: 33010
      c0b86d5d
    • Reid Spencer's avatar
      Fix PR1090: · 13cae7c2
      Reid Spencer authored
      Implemented some llvm_fcmp_{pred} functions at the start of the function bodies
      and use them for fcmp instructions and constant expressions. These help
      implement the ordered and unordered comparisons necessary for correct exectuion
      of these comparisons.
      
      llvm-svn: 33007
      13cae7c2
  10. Jan 07, 2007
  11. Jan 06, 2007
Loading