Skip to content
  1. 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
    • Anton Korobeynikov's avatar
      Arguments are counting from 1. not from 0. Maybe we should change · 06f7d4be
      Anton Korobeynikov authored
      numbering somehow? E.g. make return argument the last?
      
      llvm-svn: 33606
      06f7d4be
    • Anton Korobeynikov's avatar
      More cleanup · 9fa3839d
      Anton Korobeynikov authored
      llvm-svn: 33605
      9fa3839d
    • 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
  2. Jan 27, 2007
  3. Jan 26, 2007
  4. Jan 25, 2007
  5. Jan 24, 2007
  6. Jan 23, 2007
  7. 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
  8. Jan 20, 2007
  9. 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
  10. Jan 18, 2007
  11. Jan 17, 2007
  12. Jan 16, 2007
  13. Jan 15, 2007
Loading