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

2007-05-01 Thread Chris Lattner
On May 1, 2007, at 1:28 PM, Nate Begeman wrote: >> I believe that sub/super register generator unions the set of sub/ >> super registers in a deterministic fashion and produces the >> necessary tables in the RegisterInfo.inc already. The only thing is >> that this would make the sub register inde

[llvm-commits] CVS: llvm/include/llvm/Bitcode/LLVMBitCodes.h

2007-05-01 Thread Chris Lattner
Changes in directory llvm/include/llvm/Bitcode: LLVMBitCodes.h updated: 1.10 -> 1.11 --- Log message: update to reflect reality --- Diffs of the changes: (+1 -1) LLVMBitCodes.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Bitcode/LLVMBitCodes.h diff

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp BitcodeReader.h

2007-05-01 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.23 -> 1.24 BitcodeReader.h updated: 1.15 -> 1.16 --- Log message: add reader logic for terminator instrs. --- Diffs of the changes: (+93 -8) BitcodeReader.cpp | 97 +

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-05-01 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.20 -> 1.21 --- Log message: add reader logic for terminator instrs. --- Diffs of the changes: (+0 -2) BitcodeWriter.cpp |2 -- 1 files changed, 2 deletions(-) Index: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp d

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp

2007-05-01 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.22 -> 1.23 --- Log message: add reader support for a bunch of new instructions --- Diffs of the changes: (+90 -14) BitcodeReader.cpp | 104 ++ 1 files changed, 90

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp

2007-05-01 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.21 -> 1.22 --- Log message: read a few instructions, fix some bugs. This is enough to be able to round trip function bodies like this: define <2 x i64> @foo(<2 x i64> %x, <2 x i64> %y) { %tmp4 = bitcast <2 x i6

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-05-01 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.19 -> 1.20 --- Log message: use the correct code for binop instrs --- Diffs of the changes: (+1 -1) BitcodeWriter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Bitcode/Writer/Bitcod

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

2007-05-01 Thread Chris Lattner
Changes in directory llvm/include/llvm: Pass.h updated: 1.87 -> 1.88 PassSupport.h updated: 1.39 -> 1.40 --- Log message: revert enough of devang's recent patches to get the tree basically working again --- Diffs of the changes: (+20 -20) Pass.h| 14 +++--- PassSupport.h

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

2007-05-01 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Pass.cpp updated: 1.89 -> 1.90 --- Log message: revert enough of devang's recent patches to get the tree basically working again --- Diffs of the changes: (+16 -15) Pass.cpp | 31 --- 1 files changed, 16 insertions(+), 15

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

2007-05-01 Thread Chris Lattner
> +static const int ID; > +ARMConstantIslands() : MachineFunctionPass((intptr_t)&ID) {} Why the cast to intptr_t? Why not just make the ctors take void* ? -Chris ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu

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

2007-05-01 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Pass.cpp updated: 1.88 -> 1.89 --- Log message: disable this assertion as a hack to get the build more unbroken :( --- Diffs of the changes: (+1 -1) Pass.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/VMCore/Pass.cpp d

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/bits.h

2007-05-01 Thread Reid Spencer
Changes in directory llvm-test/SingleSource/UnitTests/Integer: bits.h updated: 1.4 -> 1.5 --- Log message: Add some bit widths. Make conversion from hex string easier. --- Diffs of the changes: (+9 -1) bits.h | 10 +- 1 files changed, 9 insertions(+), 1 deletion(-) Index: llvm-

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

2007-05-01 Thread Reid Spencer
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.339 -> 1.340 --- Log message: Make sign extension work correctly for unusual bit widths. --- Diffs of the changes: (+100 -28) CBackend.cpp | 128 ++- 1 files chan

[llvm-commits] CVS: llvm-www/DevMtgMay2007.html

2007-05-01 Thread Reid Spencer
Changes in directory llvm-www: DevMtgMay2007.html updated: 1.115 -> 1.116 --- Log message: Add Alireza Moshtaghi --- Diffs of the changes: (+3 -1) DevMtgMay2007.html |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm-www/DevMtgMay2007.html diff -u llvm-www/DevMtgMay

Re: [llvm-commits] CVS: llvm/lib/Target/ARM/ARMTargetAsmInfo.h ARMTargetAsmInfo.cpp

2007-05-01 Thread Evan Cheng
Woot! Fun stuff. :-) Thanks Dale. Evan On May 1, 2007, at 6:03 PM, Dale Johannesen wrote: > > > Changes in directory llvm/lib/Target/ARM: > > ARMTargetAsmInfo.h updated: 1.3 -> 1.4 > ARMTargetAsmInfo.cpp updated: 1.18 -> 1.19 > --- > Log message: > > Add some support for (Darwin) code-generating

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

2007-05-01 Thread Dale Johannesen
Changes in directory llvm/lib/Target/ARM: ARMTargetAsmInfo.h updated: 1.3 -> 1.4 ARMTargetAsmInfo.cpp updated: 1.18 -> 1.19 --- Log message: Add some support for (Darwin) code-generating directives in getInlineAsmLength. Support is incomplete, but more accurate than gcc's. --- Diffs of the ch

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

2007-05-01 Thread Anton Korobeynikov
Changes in directory llvm/lib/CodeGen: DwarfWriter.cpp updated: 1.132 -> 1.133 --- Log message: Fix couple of bugs connected with eh info: 1. Correct output offsets on Linux 2. Fix "style" of personality function. It shouldn't be indirect. --- Diffs of the changes: (+27 -15) DwarfWriter.cp

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

2007-05-01 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target: TargetAsmInfo.cpp updated: 1.24 -> 1.25 --- Log message: Fix couple of bugs connected with eh info: 1. Correct output offsets on Linux 2. Fix "style" of personality function. It shouldn't be indirect. --- Diffs of the changes: (+2 -1) TargetAsmInfo.cpp

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

2007-05-01 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/X86: X86TargetAsmInfo.cpp updated: 1.38 -> 1.39 --- Log message: Fix couple of bugs connected with eh info: 1. Correct output offsets on Linux 2. Fix "style" of personality function. It shouldn't be indirect. --- Diffs of the changes: (+4 -2) X86TargetA

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

2007-05-01 Thread Anton Korobeynikov
Changes in directory llvm/include/llvm/Target: TargetAsmInfo.h updated: 1.31 -> 1.32 --- Log message: Fix couple of bugs connected with eh info: 1. Correct output offsets on Linux 2. Fix "style" of personality function. It shouldn't be indirect. --- Diffs of the changes: (+13 -6) TargetAsm

[llvm-commits] CVS: llvm/lib/Analysis/IPA/Andersens.cpp CallGraph.cpp CallGraphSCCPass.cpp FindUsedTypes.cpp GlobalsModRef.cpp

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Analysis/IPA: Andersens.cpp updated: 1.46 -> 1.47 CallGraph.cpp updated: 1.65 -> 1.66 CallGraphSCCPass.cpp updated: 1.21 -> 1.22 FindUsedTypes.cpp updated: 1.38 -> 1.39 GlobalsModRef.cpp updated: 1.29 -> 1.30 --- Log message: Do not use typeinfo to identify pass in

[llvm-commits] CVS: llvm/lib/Analysis/AliasAnalysis.cpp AliasAnalysisCounter.cpp AliasAnalysisEvaluator.cpp AliasDebugger.cpp AliasSetTracker.cpp BasicAliasAnalysis.cpp CFGPrinter.cpp InstCount.cpp In

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Analysis: AliasAnalysis.cpp updated: 1.30 -> 1.31 AliasAnalysisCounter.cpp updated: 1.20 -> 1.21 AliasAnalysisEvaluator.cpp updated: 1.33 -> 1.34 AliasDebugger.cpp updated: 1.3 -> 1.4 AliasSetTracker.cpp updated: 1.46 -> 1.47 BasicAliasAnalysis.cpp updated: 1.108 ->

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/include/llvm/Target: TargetData.h updated: 1.60 -> 1.61 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+6 -3) TargetData.h |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) Index: llvm/include/l

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/include/llvm/Transforms: RSProfiling.h updated: 1.2 -> 1.3 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+3 -0) RSProfiling.h |3 +++ 1 files changed, 3 insertions(+) Index: llvm/include/llvm/Transforms/RSP

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/include/llvm: CallGraphSCCPass.h updated: 1.12 -> 1.13 Pass.h updated: 1.86 -> 1.87 PassManagers.h updated: 1.16 -> 1.17 PassSupport.h updated: 1.38 -> 1.39 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+29 -19)

[llvm-commits] CVS: llvm/tools/bugpoint/ExtractFunction.cpp TestPasses.cpp

2007-05-01 Thread Devang Patel
Changes in directory llvm/tools/bugpoint: ExtractFunction.cpp updated: 1.58 -> 1.59 TestPasses.cpp updated: 1.10 -> 1.11 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+15 -1) ExtractFunction.cpp |4 TestPasses.cpp | 12 +++

[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp BranchFolding.cpp ELFWriter.cpp ELFWriter.h LiveIntervalAnalysis.cpp LiveVariables.cpp MachOWriter.cpp MachOWriter.h MachineFunction.cpp MachineModu

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.160 -> 1.161 BranchFolding.cpp updated: 1.46 -> 1.47 ELFWriter.cpp updated: 1.38 -> 1.39 ELFWriter.h updated: 1.1 -> 1.2 LiveIntervalAnalysis.cpp updated: 1.239 -> 1.240 LiveVariables.cpp updated: 1.79 -> 1.80 MachOWriter.cpp updat

[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h LiveIntervalAnalysis.h LiveVariables.h MachineFunctionPass.h MachineModuleInfo.h SelectionDAGISel.h

2007-05-01 Thread Devang Patel
Changes in directory llvm/include/llvm/CodeGen: AsmPrinter.h updated: 1.63 -> 1.64 LiveIntervalAnalysis.h updated: 1.80 -> 1.81 LiveVariables.h updated: 1.41 -> 1.42 MachineFunctionPass.h updated: 1.5 -> 1.6 MachineModuleInfo.h updated: 1.7 -> 1.8 SelectionDAGISel.h updated: 1.37 -> 1.38 --- Log

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/include/llvm/Transforms/Utils: UnifyFunctionExitNodes.h updated: 1.20 -> 1.21 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+3 -1) UnifyFunctionExitNodes.h |4 +++- 1 files changed, 3 insertions(+), 1 deletio

[llvm-commits] CVS: llvm/include/llvm/Assembly/PrintModulePass.h

2007-05-01 Thread Devang Patel
Changes in directory llvm/include/llvm/Assembly: PrintModulePass.h updated: 1.21 -> 1.22 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+7 -4) PrintModulePass.h | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) Index:

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Transforms/Hello: Hello.cpp updated: 1.14 -> 1.15 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+9 -0) Hello.cpp |9 + 1 files changed, 9 insertions(+) Index: llvm/lib/Transforms/Hello/Hello.cpp

[llvm-commits] CVS: llvm/include/llvm/Bytecode/WriteBytecodePass.h

2007-05-01 Thread Devang Patel
Changes in directory llvm/include/llvm/Bytecode: WriteBytecodePass.h updated: 1.19 -> 1.20 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+4 -2) WriteBytecodePass.h |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) Index: l

[llvm-commits] CVS: llvm/tools/opt/AnalysisWrappers.cpp GraphPrinters.cpp PrintSCC.cpp opt.cpp

2007-05-01 Thread Devang Patel
Changes in directory llvm/tools/opt: AnalysisWrappers.cpp updated: 1.21 -> 1.22 GraphPrinters.cpp updated: 1.14 -> 1.15 PrintSCC.cpp updated: 1.15 -> 1.16 opt.cpp updated: 1.134 -> 1.135 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+31 -4)

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Target/CBackend: CBackend.cpp updated: 1.338 -> 1.339 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+12 -2) CBackend.cpp | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) Index: llvm/

[llvm-commits] CVS: llvm/lib/Target/IA64/IA64Bundling.cpp

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Target/IA64: IA64Bundling.cpp updated: 1.8 -> 1.9 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+4 -1) IA64Bundling.cpp |5 - 1 files changed, 4 insertions(+), 1 deletion(-) Index: llvm/lib/Target/I

[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp Dominators.cpp Pass.cpp PassManager.cpp Verifier.cpp

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/VMCore: AsmWriter.cpp updated: 1.279 -> 1.280 Dominators.cpp updated: 1.97 -> 1.98 Pass.cpp updated: 1.87 -> 1.88 PassManager.cpp updated: 1.153 -> 1.154 Verifier.cpp updated: 1.209 -> 1.210 --- Log message: Do not use typeinfo to identify pass in pass manager. -

[llvm-commits] CVS: llvm/lib/Transforms/IPO/ArgumentPromotion.cpp ConstantMerge.cpp DeadArgumentElimination.cpp DeadTypeElimination.cpp ExtractFunction.cpp GlobalDCE.cpp GlobalOpt.cpp IPConstantPropag

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Transforms/IPO: ArgumentPromotion.cpp updated: 1.39 -> 1.40 ConstantMerge.cpp updated: 1.39 -> 1.40 DeadArgumentElimination.cpp updated: 1.40 -> 1.41 DeadTypeElimination.cpp updated: 1.62 -> 1.63 ExtractFunction.cpp updated: 1.20 -> 1.21 GlobalDCE.cpp updated: 1.45

[llvm-commits] CVS: llvm/include/llvm/Analysis/AliasAnalysis.h CallGraph.h Dominators.h FindUsedTypes.h IntervalPartition.h LoopInfo.h LoopPass.h PostDominators.h ProfileInfo.h ScalarEvolution.h Value

2007-05-01 Thread Devang Patel
Changes in directory llvm/include/llvm/Analysis: AliasAnalysis.h updated: 1.28 -> 1.29 CallGraph.h updated: 1.53 -> 1.54 Dominators.h updated: 1.76 -> 1.77 FindUsedTypes.h updated: 1.29 -> 1.30 IntervalPartition.h updated: 1.23 -> 1.24 LoopInfo.h updated: 1.63 -> 1.64 LoopPass.h updated: 1.15 ->

[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp EdgeProfiling.cpp RSProfiling.cpp RSProfiling.h

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Transforms/Instrumentation: BlockProfiling.cpp updated: 1.22 -> 1.23 EdgeProfiling.cpp updated: 1.12 -> 1.13 RSProfiling.cpp updated: 1.23 -> 1.24 RSProfiling.h updated: 1.4 -> 1.5 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs o

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.442 -> 1.443 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+2 -0) SelectionDAGISel.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/CodeG

[llvm-commits] CVS: llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp LCSSA.cpp LoopSimplify.cpp LowerAllocations.cpp LowerInvoke.cpp LowerSelect.cpp LowerSwitch.cpp Mem2Reg.cpp UnifyFunctionExitNodes.

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Transforms/Utils: BreakCriticalEdges.cpp updated: 1.44 -> 1.45 LCSSA.cpp updated: 1.38 -> 1.39 LoopSimplify.cpp updated: 1.92 -> 1.93 LowerAllocations.cpp updated: 1.73 -> 1.74 LowerInvoke.cpp updated: 1.59 -> 1.60 LowerSelect.cpp updated: 1.12 -> 1.13 LowerSwitch.c

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Target/X86: X86CodeEmitter.cpp updated: 1.133 -> 1.134 X86FloatingPoint.cpp updated: 1.68 -> 1.69 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+10 -2) X86CodeEmitter.cpp |8 ++-- X86FloatingPoint.c

[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaBranchSelector.cpp AlphaCodeEmitter.cpp AlphaLLRP.cpp

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Target/Alpha: AlphaBranchSelector.cpp updated: 1.2 -> 1.3 AlphaCodeEmitter.cpp updated: 1.21 -> 1.22 AlphaLLRP.cpp updated: 1.8 -> 1.9 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+11 -3) AlphaBranchSelector

[llvm-commits] CVS: llvm/lib/Target/MSIL/MSILWriter.cpp MSILWriter.h

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Target/MSIL: MSILWriter.cpp updated: 1.4 -> 1.5 MSILWriter.h updated: 1.2 -> 1.3 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+6 -3) MSILWriter.cpp |2 ++ MSILWriter.h |7 --- 2 files changed,

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Target: TargetData.cpp updated: 1.107 -> 1.108 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+3 -1) TargetData.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/lib/Target/TargetD

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Target/PowerPC: PPCBranchSelector.cpp updated: 1.42 -> 1.43 PPCCodeEmitter.cpp updated: 1.75 -> 1.76 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+7 -1) PPCBranchSelector.cpp |4 PPCCodeEmitter.cpp

[llvm-commits] CVS: llvm/lib/Bytecode/Writer/Writer.cpp

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.179 -> 1.180 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+1 -0) Writer.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Bytecode/Writer/Writer.cpp diff

[llvm-commits] CVS: llvm/lib/Target/Sparc/DelaySlotFiller.cpp FPMover.cpp

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Target/Sparc: DelaySlotFiller.cpp updated: 1.13 -> 1.14 FPMover.cpp updated: 1.18 -> 1.19 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+9 -3) DelaySlotFiller.cpp |5 - FPMover.cpp |7

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Target/ARM: ARMConstantIslandPass.cpp updated: 1.39 -> 1.40 ARMLoadStoreOptimizer.cpp updated: 1.8 -> 1.9 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+8 -0) ARMConstantIslandPass.cpp |4 ARMLoadSto

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

2007-05-01 Thread Nate Begeman
On May 1, 2007, at 2:03 PM, Christopher Lamb wrote: > I see the problem in generating the ISel. Perhaps it would be be > best to go the other way and have the sub/super reg sets be > determined by the the explicit sets defined. My goal was simply to > eliminate redundant, and possibly errone

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

2007-05-01 Thread Christopher Lamb
On May 1, 2007, at 3:28 PM, Nate Begeman wrote: On May 1, 2007, at 12:24 PM, Christopher Lamb wrote: Hi Nate, Could you look into the possibility of re-using the sub/super register support that Evan recently added? This may prevent much duplication of information in the RegisterInfo.td, espe

[llvm-commits] CVS: llvm/docs/WritingAnLLVMPass.html

2007-05-01 Thread Devang Patel
Changes in directory llvm/docs: WritingAnLLVMPass.html updated: 1.56 -> 1.57 --- Log message: Update doc to reflect changes I am about to install to fix PR 888: http://llvm.org/PR888 . --- Diffs of the changes: (+20 -1) WritingAnLLVMPass.html | 21 - 1 files changed,

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

2007-05-01 Thread Nate Begeman
On May 1, 2007, at 12:24 PM, Christopher Lamb wrote: > Hi Nate, > > Could you look into the possibility of re-using the sub/super > register support that Evan recently added? This may prevent much > duplication of information in the RegisterInfo.td, especially for > targets with vector regis

[llvm-commits] CVS: llvm/lib/Target/ARM/ARMInstrThumb.td

2007-05-01 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMInstrThumb.td updated: 1.24 -> 1.25 --- Log message: Doh. PC displacement is between the constantpool and the add instruction. --- Diffs of the changes: (+1 -1) ARMInstrThumb.td |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: l

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

2007-05-01 Thread Christopher Lamb
Hi Nate, Could you look into the possibility of re-using the sub/super register support that Evan recently added? This may prevent much duplication of information in the RegisterInfo.td, especially for targets with vector registers that have many subregisters. I believe that sub/super reg

Re: [llvm-commits] Patch for bug in llvm-ld

2007-05-01 Thread Chris Lattner
On Apr 30, 2007, at 6:45 AM, jlh wrote: > Hello! > > I've been told to send this here. In tools/llvm-ld/llvm-ld.cpp, > line 360, a const char* to a temporary std::string is being > stored, with the string going out of scope right after, making > that pointer invalid. > > std::string lib_name =

[llvm-commits] CVS: llvm/test/C++Frontend/2007-04-31-TryCatch.cpp

2007-05-01 Thread Duncan Sands
Changes in directory llvm/test/C++Frontend: 2007-04-31-TryCatch.cpp added (r1.1) --- Log message: Test handling of TRY_CATCH_EXPRs for which the handler is a sequence of ordinary statements, rather than a list of CATCH_EXPRs or an EH_FILTER_EXPR. --- Diffs of the changes: (+12 -0) 2007-04-

[llvm-commits] [126769] From Duncan Sands:

2007-05-01 Thread clattner
Revision: 126769 Author: clattner Date: 2007-05-01 11:46:41 -0700 (Tue, 01 May 2007) Log Message: --- >From Duncan Sands: According to the documentation, the handler for a TRY_CATCH_EXPR can be: - A sequence of statements to execute. When an exception occurs, these statements are

[llvm-commits] [126768] improve support for __builtin_extract_return_address and

2007-05-01 Thread clattner
Revision: 126768 Author: clattner Date: 2007-05-01 10:59:57 -0700 (Tue, 01 May 2007) Log Message: --- improve support for __builtin_extract_return_address and __builtin_frob_return_address (?) for most targets. This is one step towards solving PR1375, though it is not correct for AR

[llvm-commits] llvm-gcc: handle TRY_CATCH_EXPR with compound-stmt for handler

2007-05-01 Thread Duncan Sands
According to the documentation, the handler for a TRY_CATCH_EXPR can be: - A sequence of statements to execute. When an exception occurs, these statements are executed, and then the exception is rethrown. - A sequence of CATCH_EXPR expressions. Each CATCH_EXPR has a list of applicable exception

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

2007-05-01 Thread Chris Lattner
> Forgot about chain result; also UNDEF cannot have multiple values. Nice! Thanks Evan, -Chris > --- > Diffs of the changes: (+12 -12) > > DAGCombiner.cpp | 24 > 1 files changed, 12 insertions(+), 12 deletions(-) > > > Index: llvm/lib/CodeGen/SelectionDAG/DAGCombine

[llvm-commits] ELF sections in X86AsmTargetAsm.cpp

2007-05-01 Thread Dan Gohman
The attached patch sets the section names for fixed-size constants for ELF on x86 to match what GCC uses, and it uses the mergeable flag so that duplicate constants can be merged. This works for me with GAS; are there other assemblers (or linkers?) being used with LLVM on x86 ELF targets that don'

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

2007-05-01 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/X86: X86TargetAsmInfo.cpp updated: 1.37 -> 1.38 --- Log message: Use correct PC symbol --- Diffs of the changes: (+2 -0) X86TargetAsmInfo.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/Target/X86/X86TargetAsmInfo.cpp diff -u llvm/lib/

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

2007-05-01 Thread Anton Korobeynikov
Changes in directory llvm/lib/Target/X86: X86TargetAsmInfo.cpp updated: 1.36 -> 1.37 --- Log message: Adjust correct EH-related sections --- Diffs of the changes: (+4 -0) X86TargetAsmInfo.cpp |4 1 files changed, 4 insertions(+) Index: llvm/lib/Target/X86/X86TargetAsmInfo.cpp di

[llvm-commits] CVS: llvm/lib/Target/IA64/IA64RegisterInfo.cpp IA64RegisterInfo.h

2007-05-01 Thread Evan Cheng
Changes in directory llvm/lib/Target/IA64: IA64RegisterInfo.cpp updated: 1.35 -> 1.36 IA64RegisterInfo.h updated: 1.17 -> 1.18 --- Log message: eliminateFrameIndex() change. --- Diffs of the changes: (+4 -2) IA64RegisterInfo.cpp |4 +++- IA64RegisterInfo.h |2 +- 2 files changed,

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

2007-05-01 Thread Evan Cheng
Changes in directory llvm/lib/Target/PowerPC: PPCRegisterInfo.cpp updated: 1.122 -> 1.123 PPCRegisterInfo.h updated: 1.34 -> 1.35 --- Log message: eliminateFrameIndex() change. --- Diffs of the changes: (+4 -2) PPCRegisterInfo.cpp |4 +++- PPCRegisterInfo.h |2 +- 2 files changed,

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

2007-05-01 Thread Evan Cheng
Changes in directory llvm/lib/Target/Alpha: AlphaRegisterInfo.cpp updated: 1.65 -> 1.66 AlphaRegisterInfo.h updated: 1.23 -> 1.24 --- Log message: eliminateFrameIndex() change. --- Diffs of the changes: (+4 -2) AlphaRegisterInfo.cpp |4 +++- AlphaRegisterInfo.h |2 +- 2 files chan

[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcRegisterInfo.cpp SparcRegisterInfo.h

2007-05-01 Thread Evan Cheng
Changes in directory llvm/lib/Target/Sparc: SparcRegisterInfo.cpp updated: 1.58 -> 1.59 SparcRegisterInfo.h updated: 1.23 -> 1.24 --- Log message: eliminateFrameIndex() change. --- Diffs of the changes: (+4 -2) SparcRegisterInfo.cpp |4 +++- SparcRegisterInfo.h |2 +- 2 files chan

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

2007-05-01 Thread Evan Cheng
Changes in directory llvm/lib/Target/X86: X86RegisterInfo.cpp updated: 1.216 -> 1.217 X86RegisterInfo.h updated: 1.51 -> 1.52 --- Log message: eliminateFrameIndex() change. --- Diffs of the changes: (+4 -2) X86RegisterInfo.cpp |4 +++- X86RegisterInfo.h |2 +- 2 files changed, 4 i

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

2007-05-01 Thread Evan Cheng
Changes in directory llvm/lib/Target/ARM: ARMRegisterInfo.cpp updated: 1.91 -> 1.92 ARMRegisterInfo.h updated: 1.18 -> 1.19 --- Log message: eliminateFrameIndex() change. --- Diffs of the changes: (+5 -4) ARMRegisterInfo.cpp |7 --- ARMRegisterInfo.h |2 +- 2 files changed, 5

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

2007-05-01 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: PrologEpilogInserter.cpp updated: 1.83 -> 1.84 RegisterScavenging.cpp updated: 1.16 -> 1.17 --- Log message: If call frame is not part of stack frame and no dynamic alloc, eliminateFrameIndex() must adjust SP offset with size of call frames. --- Diffs of

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

2007-05-01 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: RegisterScavenging.h updated: 1.12 -> 1.13 --- Log message: Pass call frame setup SP adjustment along to eliminateFrameIndex(). --- Diffs of the changes: (+6 -5) RegisterScavenging.h | 11 ++- 1 files changed, 6 insertions(+), 5 dele

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

2007-05-01 Thread Evan Cheng
Changes in directory llvm/include/llvm/Target: MRegisterInfo.h updated: 1.109 -> 1.110 --- Log message: Add SPAdj parameter to account for call frame setup SP adjustment. --- Diffs of the changes: (+4 -3) MRegisterInfo.h |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Ind

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

2007-05-01 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.297 -> 1.298 --- Log message: Forgot about chain result; also UNDEF cannot have multiple values. --- Diffs of the changes: (+12 -12) DAGCombiner.cpp | 24 1 files changed, 12 insertions

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

2007-05-01 Thread Evan Cheng
Doh. Brain cramp. Evan On Apr 30, 2007, at 9:39 PM, Chris Lattner wrote: >> +bool HasUses = false; >> +SmallVector VTs; >> +for (unsigned i = 0, e = N->getNumValues(); i != e; ++i) { >> + if (!N->hasNUsesOfValue(0, i)) { >> +HasUses = true; >> +break; >> + }

[llvm-commits] CVS: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp

2007-05-01 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Writer: BitcodeWriter.cpp updated: 1.18 -> 1.19 --- Log message: fix build with non-buggy compilers --- Diffs of the changes: (+11 -10) BitcodeWriter.cpp | 21 +++-- 1 files changed, 11 insertions(+), 10 deletions(-) Index: llvm/lib

[llvm-commits] CVS: llvm/lib/Bitcode/Reader/BitcodeReader.cpp BitcodeReader.h

2007-05-01 Thread Chris Lattner
Changes in directory llvm/lib/Bitcode/Reader: BitcodeReader.cpp updated: 1.20 -> 1.21 BitcodeReader.h updated: 1.14 -> 1.15 --- Log message: handle function-level forward references, read binops. --- Diffs of the changes: (+147 -22) BitcodeReader.cpp | 150