[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.164 -> 1.165 --- Log message: Add load + store folding srl and sra patterns. --- Diffs of the changes: (+32 -12) X86InstrInfo.td | 44 1 files changed, 32 insertions(+), 12 d

[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

2005-12-12 Thread Chris Lattner
Changes in directory llvm/lib/Target/PowerPC: PPCAsmPrinter.cpp updated: 1.125 -> 1.126 --- Log message: Use the shared asmprinter code for printing special llvm globals --- Diffs of the changes: (+5 -33) PPCAsmPrinter.cpp | 38 +- 1 files changed, 5 i

[llvm-commits] CVS: llvm/lib/Target/X86/X86AsmPrinter.cpp X86AsmPrinter.h

2005-12-12 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86AsmPrinter.cpp updated: 1.158 -> 1.159 X86AsmPrinter.h updated: 1.9 -> 1.10 --- Log message: Use the shared asmprinter code for printing special llvm globals --- Diffs of the changes: (+5 -38) X86AsmPrinter.cpp | 42 +--

[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp

2005-12-12 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.31 -> 1.32 --- Log message: Add a couple more fields, move ctor init list to .cpp file, add support for emitting the ctor/dtor list for common targets. --- Diffs of the changes: (+70 -0) AsmPrinter.cpp | 70 +++

[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h

2005-12-12 Thread Chris Lattner
Changes in directory llvm/include/llvm/CodeGen: AsmPrinter.h updated: 1.22 -> 1.23 --- Log message: Add a couple more fields, move ctor init list to .cpp file, add support for emitting the ctor/dtor list for common targets. --- Diffs of the changes: (+26 -26) AsmPrinter.h | 52 ++

[llvm-commits] CVS: llvm/lib/Target/X86/X86AsmPrinter.cpp X86AsmPrinter.h

2005-12-12 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86AsmPrinter.cpp updated: 1.157 -> 1.158 X86AsmPrinter.h updated: 1.8 -> 1.9 --- Log message: Add ELF and darwin support for static ctors and dtors --- Diffs of the changes: (+40 -0) X86AsmPrinter.cpp | 39 +++

[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp

2005-12-12 Thread Chris Lattner
Changes in directory llvm/lib/Target/PowerPC: PPCAsmPrinter.cpp updated: 1.124 -> 1.125 --- Log message: reindent a loop, unswitch a loop. No functionality changes --- Diffs of the changes: (+109 -105) PPCAsmPrinter.cpp | 214 +++--- 1 file

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2005-12-12 Thread Nate Begeman
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.227 -> 1.228 --- Log message: Lowering constant pool entries on ppc exposed a bug in the recently added ConstantVec legalizing code, which would return constantpool nodes that were not of the target's pointer type.

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.163 -> 1.164 --- Log message: Beautify a few patterns. --- Diffs of the changes: (+15 -15) X86InstrInfo.td | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) Index: llvm/lib/Target

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.162 -> 1.163 --- Log message: Some shl patterns which do load + store folding. --- Diffs of the changes: (+16 -6) X86InstrInfo.td | 22 -- 1 files changed, 16 insertions(+), 6 deletions(-) Index: l

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.161 -> 1.162 --- Log message: A few helper fragments for loads. e.g. (i8 (load addr:$src)) -> (loadi8 addr:$src). Only to improve readibility. --- Diffs of the changes: (+18 -12) X86InstrInfo.td | 30 ++

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.160 -> 1.161 --- Log message: Add and, or, and xor patterns which fold load + stores. --- Diffs of the changes: (+82 -41) X86InstrInfo.td | 123 +--- 1 files changed, 8

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.159 -> 1.160 --- Log message: Add inc + dec patterns which fold load + stores. --- Diffs of the changes: (+12 -6) X86InstrInfo.td | 18 -- 1 files changed, 12 insertions(+), 6 deletions(-) Index: llvm/

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.158 -> 1.159 --- Log message: Add neg and not patterns which fold load + stores. --- Diffs of the changes: (+12 -6) X86InstrInfo.td | 18 -- 1 files changed, 12 insertions(+), 6 deletions(-) Index: llv

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.157 -> 1.158 --- Log message: Missed a couple redundant explicit type casts. --- Diffs of the changes: (+3 -3) X86InstrInfo.td |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/lib/Target/X86/X

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.156 -> 1.157 --- Log message: Fix some bad choice of names: i16SExt8 ->i16immSExt8, etc. --- Diffs of the changes: (+47 -34) X86InstrInfo.td | 81 1 files changed

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.155 -> 1.156 --- Log message: * Split immSExt8 to i16SExt8 and i32SExt8 for i16 and i32 immediate operands. This enables the removal of some explicit type casts. * Rename immZExt8 to i16ZExt8 as well. --- Diffs of the chan

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2005-12-12 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.96 -> 1.97 --- Log message: Bug fix: CodeGenMap[N] = ... -> CodeGenMap[N.getValue(0)] = ... --- Diffs of the changes: (+1 -1) DAGISelEmitter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/u

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.154 -> 1.155 --- Log message: Add some integer mul patterns. --- Diffs of the changes: (+17 -11) X86InstrInfo.td | 28 +--- 1 files changed, 17 insertions(+), 11 deletions(-) Index: llvm/lib/Ta

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2005-12-12 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.95 -> 1.96 --- Log message: At top of generated isel SelectCode() is this: if (!N.Val->hasOneUse()) { std::map::iterator CGMI = CodeGenMap.find(N); if (CGMI != CodeGenMap.end()) return CGMI->second; } Suppose

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

2005-12-12 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.114 -> 1.115 --- Log message: Accept and ignore prefetches for now --- Diffs of the changes: (+3 -0) SelectionDAGISel.cpp |3 +++ 1 files changed, 3 insertions(+) Index: llvm/lib/CodeGen/SelectionDAG/

[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2005-12-12 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.226 -> 1.227 --- Log message: Fix CodeGen/Generic/2005-12-12-ExpandSextInreg.ll --- Diffs of the changes: (+10 -0) LegalizeDAG.cpp | 10 ++ 1 files changed, 10 insertions(+) Index: llvm/lib/CodeGen/S

[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll

2005-12-12 Thread Chris Lattner
Changes in directory llvm/test/Regression/CodeGen/Generic: 2005-12-12-ExpandSextInreg.ll added (r1.1) --- Log message: Testcase for a problem that reid ran into --- Diffs of the changes: (+7 -0) 2005-12-12-ExpandSextInreg.ll |7 +++ 1 files changed, 7 insertions(+) Index: llvm/te

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.153 -> 1.154 --- Log message: Add some sub patterns. --- Diffs of the changes: (+24 -13) X86InstrInfo.td | 37 - 1 files changed, 24 insertions(+), 13 deletions(-) Index: llvm/lib/T

[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86ISelDAGToDAG.cpp updated: 1.9 -> 1.10 --- Log message: When SelectLEAAddr() fails, it shouldn't cause the side effect of having the base or index operands being selected. --- Diffs of the changes: (+48 -17) X86ISelDAGToDAG.cpp | 65 +++

[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86ISelDAGToDAG.cpp updated: 1.8 -> 1.9 --- Log message: For ISD::RET, if # of operands >= 2, try selection the real data dep. operand first before the chain. e.g. int X; int foo(int x) { x += X + 37; return x; } If chain operand is selected first

[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp AlphaInstrInfo.td

2005-12-12 Thread Andrew Lenharth
Changes in directory llvm/lib/Target/Alpha: AlphaISelDAGToDAG.cpp updated: 1.17 -> 1.18 AlphaInstrInfo.td updated: 1.83 -> 1.84 --- Log message: fix FP selects --- Diffs of the changes: (+14 -14) AlphaISelDAGToDAG.cpp |2 +- AlphaInstrInfo.td | 26 +- 2 fil

[llvm-commits] CVS: llvm/lib/Target/X86/X86.h X86PeepholeOpt.cpp X86TargetMachine.cpp

2005-12-12 Thread Chris Lattner
Changes in directory llvm/lib/Target/X86: X86.h updated: 1.37 -> 1.38 X86PeepholeOpt.cpp updated: 1.40 -> 1.41 X86TargetMachine.cpp updated: 1.89 -> 1.90 --- Log message: remove some never-completed and now-obsolete code. --- Diffs of the changes: (+0 -358) X86.h|5 X8

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.td

2005-12-12 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86InstrInfo.td updated: 1.152 -> 1.153 --- Log message: Add a few more add / store patterns. e.g. ADD32mi8. --- Diffs of the changes: (+18 -10) X86InstrInfo.td | 28 ++-- 1 files changed, 18 insertions(+), 10 deletions(-)

[llvm-commits] CVS: llvm/utils/TableGen/DAGISelEmitter.cpp

2005-12-12 Thread Evan Cheng
Changes in directory llvm/utils/TableGen: DAGISelEmitter.cpp updated: 1.94 -> 1.95 --- Log message: Bug fix: finding the correct incoming chain for pattern with nested src operand. And a minor change to make output code slightly more readible. --- Diffs of the changes: (+17 -14) DAGISelEm

[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp

2005-12-12 Thread Andrew Lenharth
Changes in directory llvm/lib/Target/Alpha: AlphaISelDAGToDAG.cpp updated: 1.16 -> 1.17 --- Log message: restore a more restricted select --- Diffs of the changes: (+32 -0) AlphaISelDAGToDAG.cpp | 32 1 files changed, 32 insertions(+) Index: llvm/lib/Tar