[llvm-commits] CVS: llvm/lib/VMCore/Type.cpp

2007-01-25 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Type.cpp updated: 1.165 -> 1.166 --- Log message: IntegerType is a sized DerivedType too. --- Diffs of the changes: (+3 -0) Type.cpp |3 +++ 1 files changed, 3 insertions(+) Index: llvm/lib/VMCore/Type.cpp diff -u llvm/lib/VMCore/Type.cpp:1.165 l

[llvm-commits] CVS: llvm/lib/VMCore/Constants.cpp

2007-01-25 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.204 -> 1.205 --- Log message: Clean up comments and assert messages that still refer to the old type names. --- Diffs of the changes: (+12 -12) Constants.cpp | 24 1 files changed, 12 insertions(+), 1

[llvm-commits] CVS: llvm/lib/VMCore/Instructions.cpp

2007-01-25 Thread Reid Spencer
Changes in directory llvm/lib/VMCore: Instructions.cpp updated: 1.65 -> 1.66 --- Log message: Fix an assertion message. --- Diffs of the changes: (+1 -1) Instructions.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/Instructions.cpp diff -u llvm/lib/VM

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/trunc.c trunc.reference_output general-test.c matrix.c matrix.h matrix.reference_output

2007-01-25 Thread Guoling Han
Changes in directory llvm-test/SingleSource/UnitTests/Integer: trunc.c added (r1.1) trunc.reference_output added (r1.1) general-test.c updated: 1.5 -> 1.6 matrix.c updated: 1.7 -> 1.8 matrix.h updated: 1.1 -> 1.2 matrix.reference_output updated: 1.2 -> 1.3 --- Log message: Add trunc.c for cbe t

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp

2007-01-25 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.7 -> 1.8 --- Log message: SplitBlockBeforeInstr() insert a unconditional branch to the next BB. This is unnecessary when we are fixing up a conditional branch since we will be adding a unconditional branch to the des

[llvm-commits] CVS: llvm/lib/Analysis/IPA/CallGraphSCCPass.cpp

2007-01-25 Thread Devang Patel
Changes in directory llvm/lib/Analysis/IPA: CallGraphSCCPass.cpp updated: 1.13 -> 1.14 --- Log message: Remove dead code. CallGraphSCCPass does not need to implement runOnModule(). It supports runOnSCC(). --- Diffs of the changes: (+0 -9) CallGraphSCCPass.cpp |9 - 1 files cha

[llvm-commits] CVS: llvm/include/llvm/CallGraphSCCPass.h

2007-01-25 Thread Devang Patel
Changes in directory llvm/include/llvm: CallGraphSCCPass.h updated: 1.9 -> 1.10 --- Log message: Remove dead code. CallGraphSCCPass does not need to implement runOnModule(). It supports runOnSCC(). --- Diffs of the changes: (+0 -5) CallGraphSCCPass.h |5 - 1 files changed, 5 delet

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp

2007-01-25 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.6 -> 1.7 --- Log message: Need to scan the function for branches even if there aren't any constants. --- Diffs of the changes: (+2 -3) ARMConstantIslandPass.cpp |5 ++--- 1 files changed, 2 insertions(+), 3 d

[llvm-commits] CVS: llvm/lib/Transforms/IPO/ArgumentPromotion.cpp InlineSimple.cpp PruneEH.cpp

2007-01-25 Thread Devang Patel
Changes in directory llvm/lib/Transforms/IPO: ArgumentPromotion.cpp updated: 1.33 -> 1.34 InlineSimple.cpp updated: 1.76 -> 1.77 PruneEH.cpp updated: 1.26 -> 1.27 --- Log message: Inherit CallGraphSCCPass directly from Pass. --- Diffs of the changes: (+3 -3) ArgumentPromotion.cpp |2 +-

[llvm-commits] CVS: llvm/include/llvm/Transforms/IPO.h

2007-01-25 Thread Devang Patel
Changes in directory llvm/include/llvm/Transforms: IPO.h updated: 1.46 -> 1.47 --- Log message: Inherit CallGraphSCCPass directly from Pass. --- Diffs of the changes: (+4 -3) IPO.h |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Index: llvm/include/llvm/Transforms/IPO.h

[llvm-commits] CVS: llvm/include/llvm/CallGraphSCCPass.h

2007-01-25 Thread Devang Patel
Changes in directory llvm/include/llvm: CallGraphSCCPass.h updated: 1.8 -> 1.9 --- Log message: Inherit CallGraphSCCPass directly from Pass. --- Diffs of the changes: (+1 -1) CallGraphSCCPass.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/CallGraphSC

Re: [llvm-commits] InReg patch for review

2007-01-25 Thread Evan Cheng
Comments: diff -r bdd0e76350e4 lib/Target/PowerPC/PPCISelLowering.cpp --- a/lib/Target/PowerPC/PPCISelLowering.cppTue Jan 23 13:34:14 2007 +0300 +++ b/lib/Target/PowerPC/PPCISelLowering.cppTue Jan 23 01:12:46 2007 +0300 @@ -1360,9 +1360,10 @@ static SDOperand LowerCALL(SDOperand Op,

Re: [llvm-commits] [patch] Intruction Constraint DestReg!=SrcReg (for review)

2007-01-25 Thread Evan Cheng
Hi Lauro, Thanks for taking a crack at this! Your work is much appreciated. However, I have some comments. :-) 1. I think rather than adding a constraint that says a source operand must not be assigned the same register as another. It would be better if you add a constraint that says a sourc

[llvm-commits] CVS: llvm/include/llvm/Pass.h

2007-01-25 Thread Devang Patel
Changes in directory llvm/include/llvm: Pass.h updated: 1.78 -> 1.79 --- Log message: Inherit FunctionPass directly from Pass. --- Diffs of the changes: (+1 -1) Pass.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Pass.h diff -u llvm/include/llvm/Pass

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp

2007-01-25 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.5 -> 1.6 --- Log message: Forgot to update this. --- Diffs of the changes: (+1 -1) ARMConstantIslandPass.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/ARM/ARMConstantIslan

[llvm-commits] CVS: llvm/lib/Transforms/Utils/LowerAllocations.cpp

2007-01-25 Thread Devang Patel
Changes in directory llvm/lib/Transforms/Utils: LowerAllocations.cpp updated: 1.70 -> 1.71 --- Log message: Inherit BasicBlockPass directly from Pass. --- Diffs of the changes: (+1 -1) LowerAllocations.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transfor

[llvm-commits] CVS: llvm/include/llvm/Pass.h

2007-01-25 Thread Devang Patel
Changes in directory llvm/include/llvm: Pass.h updated: 1.77 -> 1.78 --- Log message: Inherit BasicBlockPass directly from Pass. --- Diffs of the changes: (+1 -1) Pass.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Pass.h diff -u llvm/include/llvm/Pa

[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h

2007-01-25 Thread Devang Patel
Changes in directory llvm/include/llvm/Transforms: Scalar.h updated: 1.69 -> 1.70 --- Log message: Inherit BasicBlockPass directly from Pass. --- Diffs of the changes: (+3 -3) Scalar.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/include/llvm/Transforms/Sca

[llvm-commits] CVS: llvm/lib/Transforms/Scalar/DCE.cpp

2007-01-25 Thread Devang Patel
Changes in directory llvm/lib/Transforms/Scalar: DCE.cpp updated: 1.61 -> 1.62 --- Log message: Inherit BasicBlockPass directly from Pass. --- Diffs of the changes: (+1 -1) DCE.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Scalar/DCE.cpp diff -u

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp

2007-01-25 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.4 -> 1.5 --- Log message: Add comment, fix typo, reduce memory usage, etc. --- Diffs of the changes: (+14 -9) ARMConstantIslandPass.cpp | 23 ++- 1 files changed, 14 insertions(+), 9 deletio

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMRegisterInfo.cpp

2007-01-25 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.40 -> 1.41 --- Log message: I am an idiot. --- Diffs of the changes: (+1 -1) ARMRegisterInfo.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/ARM/ARMRegisterInfo.cpp diff -u llvm/l

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

2007-01-25 Thread Evan Cheng
Changes in directory llvm/lib/Target/PowerPC: PPCRegisterInfo.cpp updated: 1.98 -> 1.99 --- Log message: Fix comment. --- Diffs of the changes: (+1 -2) PPCRegisterInfo.cpp |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp diff -

Re: [llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp PPCRegisterInfo.h

2007-01-25 Thread Jim Laskey
NVM. I forgot this was redundant. -- Jim On 25-Jan-07, at 06:40 PM, Jim Laskey wrote: On 25-Jan-07, at 06:25 PM, Evan Cheng wrote: Index: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp diff -u llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.97 llvm/lib/ Target/PowerPC/PPCRegisterInfo.cpp:1.98

Re: [llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp PPCRegisterInfo.h

2007-01-25 Thread Jim Laskey
On 25-Jan-07, at 06:25 PM, Evan Cheng wrote: Index: llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp diff -u llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.97 llvm/lib/ Target/PowerPC/PPCRegisterInfo.cpp:1.98 --- llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp:1.97 Wed Jan 24 12:45:13 2007 +++ llvm/li

[llvm-commits] CVS: llvm/test/CodeGen/PowerPC/Frames-align.ll

2007-01-25 Thread Evan Cheng
Changes in directory llvm/test/CodeGen/PowerPC: Frames-align.ll updated: 1.3 -> 1.4 --- Log message: Fix test case. --- Diffs of the changes: (+1 -1) Frames-align.ll |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/CodeGen/PowerPC/Frames-align.ll diff -u llvm/tes

[llvm-commits] CVS: llvm/include/llvm/Pass.h

2007-01-25 Thread Devang Patel
Changes in directory llvm/include/llvm: Pass.h updated: 1.76 -> 1.77 --- Log message: Remove dead code. --- Diffs of the changes: (+0 -7) Pass.h |7 --- 1 files changed, 7 deletions(-) Index: llvm/include/llvm/Pass.h diff -u llvm/include/llvm/Pass.h:1.76 llvm/include/llvm/Pass.h:

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

2007-01-25 Thread Evan Cheng
Changes in directory llvm/lib/Target/PowerPC: PPCRegisterInfo.cpp updated: 1.97 -> 1.98 PPCRegisterInfo.h updated: 1.23 -> 1.24 --- Log message: - Tell PEI that PPC will handle stack frame rounding itself. - Do not round up to max. alignment of stack object if it is > stack alignment. It will

[llvm-commits] CVS: llvm/include/llvm/Target/MRegisterInfo.h

2007-01-25 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: MRegisterInfo.h updated: 1.88 -> 1.89 --- Log message: Added a MRegisterInfo hook that tells PEI the target is responsible for rounding the stack frame to a multiple of stack alignment. --- Diffs of the changes: (+6 -0) MRegisterInfo.h |6 +

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

2007-01-25 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: PrologEpilogInserter.cpp updated: 1.66 -> 1.67 --- Log message: Added a MRegisterInfo hook that tells PEI the target is responsible for rounding the stack frame to a multiple of stack alignment. --- Diffs of the changes: (+3 -2) PrologEpilogInserter.cp

[llvm-commits] CVS: llvm/test/CodeGen/ARM/fcopysign.ll

2007-01-25 Thread Lauro Ramos Venancio
Changes in directory llvm/test/CodeGen/ARM: fcopysign.ll updated: 1.4 -> 1.5 --- Log message: fix fcopysign test --- Diffs of the changes: (+4 -4) fcopysign.ll |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/test/CodeGen/ARM/fcopysign.ll diff -u llvm/test/Co

[llvm-commits] [patch] Intruction Constraint DestReg!=SrcReg (for review)

2007-01-25 Thread Lauro Ramos Venancio
This patch implements the instruction constraint DestReg!=SrcReg. It is needed by ARM backend. A sample of use of this constraint is following: class RegConstraint { string Constraints = C; } // AI_orr - Defines a (op r, r) pattern. class AI_orr : AI<(ops GPR:$dst, GPR:$a, GPR:$b), !str

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMAsmPrinter.cpp

2007-01-25 Thread Lauro Ramos Venancio
Changes in directory llvm/lib/Target/ARM: ARMAsmPrinter.cpp updated: 1.47 -> 1.48 --- Log message: Fix elf object definition. --- Diffs of the changes: (+1 -1) ARMAsmPrinter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/ARM/ARMAsmPrinter.cpp diff -

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMConstantIslandPass.cpp

2007-01-25 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.3 -> 1.4 --- Log message: Doh. Skip JT branches. --- Diffs of the changes: (+2 -1) ARMConstantIslandPass.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/Target/ARM/ARMConstantIsl

[llvm-commits] CVS: llvm/lib/Transforms/IPO/ExtractFunction.cpp

2007-01-25 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: ExtractFunction.cpp updated: 1.14 -> 1.15 --- Log message: Make llvm-extract preserve the callingconv of prototypes in the extracted code. --- Diffs of the changes: (+1 -0) ExtractFunction.cpp |1 + 1 files changed, 1 insertion(+) Index:

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

2007-01-25 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: DwarfWriter.cpp updated: 1.114 -> 1.115 --- Log message: 1. Remove dwarf-verbose option (now asm-verbose.) 2. Clean up end of lines. --- Diffs of the changes: (+24 -36) DwarfWriter.cpp | 60 ++-- 1

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

2007-01-25 Thread Jim Laskey
Changes in directory llvm/include/llvm/CodeGen: AsmPrinter.h updated: 1.59 -> 1.60 --- Log message: Migrate print routines to asm to be shared by exception handling. --- Diffs of the changes: (+62 -0) AsmPrinter.h | 62 +++ 1 files

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

2007-01-25 Thread Jim Laskey
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.138 -> 1.139 DwarfWriter.cpp updated: 1.113 -> 1.114 --- Log message: Migrate print routines to asm to be shared by exception handling. --- Diffs of the changes: (+382 -369) AsmPrinter.cpp | 223 --- Dwa