Skip to content
  1. Jan 19, 2007
    • Evan Cheng's avatar
      GetRegForReload() now keeps track which registers have been considered and... · fc74e2de
      Evan Cheng authored
      GetRegForReload() now keeps track which registers have been considered and rejected during its quest to find a suitable reload register. This avoids an infinite loop in case like this:
        t1 := op t2, t3
        t2 <- assigned r0 for use by the reload but ended up reuse r1
        t3 <- assigned r1 for use by the reload but ended up reuse r0
        t1 <- desires r1
              sees r1 is taken by t2, tries t2's reload register r0
              sees r0 is taken by t3, tries t3's reload register r1
              sees r1 is taken by t2, tries t2's reload register r0 ...
      
      llvm-svn: 33382
      fc74e2de
    • 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
    • Evan Cheng's avatar
      Remove this xform: · 9201100b
      Evan Cheng authored
      (shl (add x, c1), c2) -> (add (shl x, c2), c1<<c2)
      Replace it with:
      (add (shl (add x, c1), c2), ) -> (add (add (shl x, c2), c1<<c2), )
      
      This fixes test/CodeGen/ARM/smul.ll
      
      llvm-svn: 33361
      9201100b
  2. Jan 18, 2007
  3. Jan 17, 2007
  4. Jan 16, 2007
  5. Jan 15, 2007
  6. Jan 13, 2007
  7. Jan 12, 2007
    • Evan Cheng's avatar
      Minor fix. · 61a4be88
      Evan Cheng authored
      llvm-svn: 33149
      61a4be88
    • Chris Lattner's avatar
      Simplify code · 7f6fac4b
      Chris Lattner authored
      llvm-svn: 33123
      7f6fac4b
    • 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
    • Evan Cheng's avatar
      31cbddf2
  8. Jan 11, 2007
  9. Jan 09, 2007
  10. Jan 08, 2007
  11. Jan 07, 2007
  12. Jan 06, 2007
  13. Jan 05, 2007
  14. Jan 04, 2007
  15. Jan 03, 2007
Loading