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

2007-05-17 Thread Dan Gohman
Changes in directory llvm/include/llvm: Type.h updated: 1.107 -> 1.108 --- Log message: Correct a name in a comment. --- Diffs of the changes: (+4 -3) Type.h |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) Index: llvm/include/llvm/Type.h diff -u llvm/include/llvm/Type.h:

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

2007-05-18 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.493 -> 1.494 SelectionDAGISel.cpp updated: 1.451 -> 1.452 SelectionDAGPrinter.cpp updated: 1.45 -> 1.46 TargetLowering.cpp updated: 1.115 -> 1.116 --- Log message: Qualify several calls to functions in the MVT namesp

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

2007-05-18 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.404 -> 1.405 --- Log message: Use MVT::FIRST_VECTOR_VALUETYPE and MVT::LAST_VECTOR_VALUETYPE. --- Diffs of the changes: (+2 -2) X86ISelLowering.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index

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

2007-05-18 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.307 -> 1.308 --- Log message: Qualify calls to getTypeForValueType with MVT:: too. --- Diffs of the changes: (+3 -3) DAGCombiner.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/

[llvm-commits] Use of MVT::LAST_VECTOR_VALUETYPE in PowerPC target

2007-05-18 Thread Dan Gohman
Hello all, While doing some experiments with vector ValueTypes, I noticed that the PowerPC target uses MVT::LAST_VECTOR_VALUETYPE inconsistently with the way it is declared. I don't have the resources to test PowerPC changes, so I'm just sending this patch to the list in case anyone who does is in

[llvm-commits] CVS: llvm/test/Transforms/LoopUnroll/2007-05-09-UnknownTripCount.ll

2007-05-18 Thread Dan Gohman
Changes in directory llvm/test/Transforms/LoopUnroll: 2007-05-09-UnknownTripCount.ll added (r1.1) --- Log message: Add a testcase for unrolling loops with unknown tripcounts. --- Diffs of the changes: (+18 -0) 2007-05-09-UnknownTripCount.ll | 18 ++ 1 files changed, 18 in

Re: [llvm-commits] Use of MVT::LAST_VECTOR_VALUETYPE in PowerPC target

2007-05-18 Thread Dan Gohman
7;t have the resources to test PowerPC > > changes, so I'm just sending this patch to the list in case anyone > > who does is interested in it. > > The patch looks safe to me, but how is it semantically different? It would make the for loop cover

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

2007-05-18 Thread Dan Gohman
Changes in directory llvm/lib/Target/PowerPC: PPCISelLowering.cpp updated: 1.270 -> 1.271 --- Log message: Apply this patch: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070514/049845.html --- Diffs of the changes: (+1 -1) PPCISelLowering.cpp |2 +- 1 files changed, 1

Re: [llvm-commits] [LLVMdev] Simplifing the handling of pre-legalize vector nodes

2007-05-23 Thread Dan Gohman
2:03:30AM -0700, Chris Lattner wrote: > On Mon, 21 May 2007, Dan Gohman wrote: > > It seems that a number of things would be considerably simpler if the > > pre-legalize nodes could use the same node kinds as post-legalize; the only > > thing preventing that is that the MVT::V

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

2007-05-24 Thread Dan Gohman
Changes in directory llvm/lib/VMCore: ValueTypes.cpp updated: 1.17 -> 1.18 --- Log message: Add cases for v2f32. --- Diffs of the changes: (+2 -0) ValueTypes.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/VMCore/ValueTypes.cpp diff -u llvm/lib/VMCore/ValueTypes.cpp:1.17

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

2007-05-24 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.405 -> 1.406 --- Log message: Add explicit qualification for namespace MVT members. --- Diffs of the changes: (+1 -1) X86ISelLowering.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Tar

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

2007-05-24 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAG.cpp updated: 1.403 -> 1.404 --- Log message: Add explicit qualification for namespace MVT members. --- Diffs of the changes: (+1 -1) SelectionDAG.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib

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

2007-05-24 Thread Dan Gohman
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.228 -> 1.229 Type.cpp updated: 1.187 -> 1.188 --- Log message: Minor comment cleanups. --- Diffs of the changes: (+6 -6) Constants.cpp | 10 +- Type.cpp |2 +- 2 files changed, 6 insertions(+), 6 deletions(-)

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

2007-05-24 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Utils: SimplifyCFG.cpp updated: 1.121 -> 1.122 --- Log message: Minor comment cleanups. --- Diffs of the changes: (+1 -1) SimplifyCFG.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Utils/SimplifyCFG.cpp di

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

2007-05-24 Thread Dan Gohman
Changes in directory llvm/include/llvm/CodeGen: SelectionDAGNodes.h updated: 1.190 -> 1.191 --- Log message: Minor comment cleanups. --- Diffs of the changes: (+1 -1) SelectionDAGNodes.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/CodeGen/SelectionD

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

2007-05-24 Thread Dan Gohman
Changes in directory llvm/include/llvm: Constants.h updated: 1.146 -> 1.147 --- Log message: Minor comment cleanups. --- Diffs of the changes: (+4 -4) Constants.h |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/include/llvm/Constants.h diff -u llvm/include/l

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

2007-05-24 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.453 -> 1.454 --- Log message: Minor comment cleanups. --- Diffs of the changes: (+1 -1) SelectionDAGISel.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/SelectionDAG/

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

2007-06-04 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAG.cpp updated: 1.404 -> 1.405 --- Log message: Resolve implicit alignment before computing the FoldingSet information so that the CSE map always contains explicit alignment information. This allows more loads to be CSE'd when there

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

2007-06-04 Thread Dan Gohman
Changes in directory llvm/utils/TableGen: CodeGenTarget.cpp updated: 1.89 -> 1.90 CodeGenTarget.h updated: 1.29 -> 1.30 RegisterInfoEmitter.cpp updated: 1.54 -> 1.55 --- Log message: Remove the operator<< for MVT::ValueType in preparation for MVT::ValueType being changed from an enum to an inte

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

2007-06-04 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.494 -> 1.495 --- Log message: Pass the DAG to SDNode::dump to let it do more detailed dumps in some cases. --- Diffs of the changes: (+5 -5) LegalizeDAG.cpp | 10 +- 1 files changed, 5 insertions(+), 5

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

2007-06-05 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Scalar: LICM.cpp updated: 1.104 -> 1.105 --- Log message: Allow insertelement, extractelement, and shufflevector to be hoisted/sunk by LICM. --- Diffs of the changes: (+3 -1) LICM.cpp |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) In

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

2007-06-13 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.495 -> 1.496 SelectionDAG.cpp updated: 1.405 -> 1.406 SelectionDAGISel.cpp updated: 1.460 -> 1.461 --- Log message: Introduce new SelectionDAG node opcodes VEXTRACT_SUBVECTOR and VCONCAT_VECTORS. Use these for CopyTo

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

2007-06-13 Thread Dan Gohman
Changes in directory llvm/include/llvm/CodeGen: SelectionDAGNodes.h updated: 1.191 -> 1.192 --- Log message: Introduce new SelectionDAG node opcodes VEXTRACT_SUBVECTOR and VCONCAT_VECTORS. Use these for CopyToReg and CopyFromReg legalizing in the case that the full register is to be split into

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

2007-06-13 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.459 -> 1.460 --- Log message: When creating CopyFromReg nodes, always use legal types. And use the correct types for the result vector, even though it is currently bitcasted to a different type immediately. --

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

2007-06-14 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86ATTAsmPrinter.cpp updated: 1.106 -> 1.107 X86AsmPrinter.cpp updated: 1.242 -> 1.243 --- Log message: Eliminate some redundant newlines in asm output. --- Diffs of the changes: (+2 -3) X86ATTAsmPrinter.cpp |4 ++-- X86AsmPrinter.cpp|1

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

2007-06-14 Thread Dan Gohman
Changes in directory llvm/lib/Target: TargetAsmInfo.cpp updated: 1.27 -> 1.28 --- Log message: Eliminate some redundant newlines in asm output. --- Diffs of the changes: (+2 -2) TargetAsmInfo.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Target/TargetA

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

2007-06-14 Thread Dan Gohman
Changes in directory llvm/include/llvm/Target: TargetAsmInfo.h updated: 1.33 -> 1.34 --- Log message: Eliminate some redundant newlines in asm output. --- Diffs of the changes: (+2 -2) TargetAsmInfo.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/

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

2007-06-14 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.246 -> 1.247 VirtRegMap.cpp updated: 1.111 -> 1.112 --- Log message: Add a target hook to allow loads from constant pools to be rematerialized, and an implementation for x86. --- Diffs of the changes: (+6 -3) LiveI

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

2007-06-14 Thread Dan Gohman
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.127 -> 1.128 --- Log message: Add a target hook to allow loads from constant pools to be rematerialized, and an implementation for x86. --- Diffs of the changes: (+10 -0) TargetInstrInfo.h | 10 ++ 1 fil

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

2007-06-14 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86InstrInfo.cpp updated: 1.89 -> 1.90 X86InstrInfo.h updated: 1.64 -> 1.65 --- Log message: Add a target hook to allow loads from constant pools to be rematerialized, and an implementation for x86. --- Diffs of the changes: (+26 -0) X86InstrInfo.

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

2007-06-14 Thread Dan Gohman
Changes in directory llvm/lib/Target/PowerPC: PPCISelLowering.cpp updated: 1.271 -> 1.272 --- Log message: Rename MVT::getVectorBaseType to MVT::getVectorElementType. --- Diffs of the changes: (+2 -2) PPCISelLowering.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index

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

2007-06-14 Thread Dan Gohman
Changes in directory llvm/include/llvm/CodeGen: ValueTypes.h updated: 1.34 -> 1.35 --- Log message: Rename MVT::getVectorBaseType to MVT::getVectorElementType. --- Diffs of the changes: (+2 -2) ValueTypes.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include

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

2007-06-14 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.408 -> 1.409 --- Log message: Rename MVT::getVectorBaseType to MVT::getVectorElementType. --- Diffs of the changes: (+22 -22) X86ISelLowering.cpp | 44 ++-- 1 files changed, 2

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

2007-06-14 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.311 -> 1.312 LegalizeDAG.cpp updated: 1.496 -> 1.497 SelectionDAG.cpp updated: 1.406 -> 1.407 SelectionDAGISel.cpp updated: 1.462 -> 1.463 --- Log message: Rename MVT::getVectorBaseType to MVT::getVectorElementType.

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

2007-06-15 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Scalar: IndVarSimplify.cpp updated: 1.120 -> 1.121 LoopStrengthReduce.cpp updated: 1.140 -> 1.141 --- Log message: Add a SCEV class and supporting code for sign-extend expressions. This created an ambiguity for expandInTy to decide when to use sign-exte

[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp ScalarEvolutionExpander.cpp

2007-06-15 Thread Dan Gohman
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.118 -> 1.119 ScalarEvolutionExpander.cpp updated: 1.17 -> 1.18 --- Log message: Add a SCEV class and supporting code for sign-extend expressions. This created an ambiguity for expandInTy to decide when to use sign-extension

[llvm-commits] CVS: llvm/include/llvm/Analysis/ScalarEvolutionExpander.h ScalarEvolutionExpressions.h

2007-06-15 Thread Dan Gohman
Changes in directory llvm/include/llvm/Analysis: ScalarEvolutionExpander.h updated: 1.16 -> 1.17 ScalarEvolutionExpressions.h updated: 1.11 -> 1.12 --- Log message: Add a SCEV class and supporting code for sign-extend expressions. This created an ambiguity for expandInTy to decide when to use

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

2007-06-15 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Scalar: IndVarSimplify.cpp updated: 1.121 -> 1.122 --- Log message: Use SCEVConstant::get instead of SCEVUnknown::get to create an integer constant SCEV. --- Diffs of the changes: (+2 -2) IndVarSimplify.cpp |4 ++-- 1 files changed, 2 insertions

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

2007-06-15 Thread Dan Gohman
Changes in directory llvm/lib/Analysis: ScalarEvolutionExpander.cpp updated: 1.18 -> 1.19 --- Log message: Fold a binary operator with constant operands when expanding code for a SCEV. --- Diffs of the changes: (+5 -0) ScalarEvolutionExpander.cpp |5 + 1 files changed, 5 insertions

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

2007-06-18 Thread Dan Gohman
Changes in directory llvm/include/llvm/CodeGen: MachineInstr.h updated: 1.222 -> 1.223 --- Log message: Add keyword explicit. --- Diffs of the changes: (+1 -1) MachineInstr.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/CodeGen/MachineInstr.h diff -u

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

2007-06-18 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86InstrX86-64.td updated: 1.16 -> 1.17 --- Log message: Define the pushq instruction for x86-64. --- Diffs of the changes: (+2 -0) X86InstrX86-64.td |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/Target/X86/X86InstrX86-64.td diff -u

Re: [llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp VirtRegMap.cpp

2007-06-18 Thread Dan Gohman
> Is this necessary? ARM is already doing this by marking trivially re- > materializable instructions with let isReMaterializable = 1. It's not necessary, but it seems cleaner :-). In the ARM target, other than instructions that are always trivially rematerialiable, there's only LDR, with a ReMat

Re: [llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp ScalarEvolutionExpander.cpp

2007-06-18 Thread Dan Gohman
much less opaque than an unknown, though hasComputableLoopEvolution works. Dan -- Dan Gohman, Cray Inc. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

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

2007-06-18 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGPrinter.cpp updated: 1.46 -> 1.47 --- Log message: Make chain dependencies blue, in addition to being dashed. --- Diffs of the changes: (+1 -1) SelectionDAGPrinter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-)

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

2007-06-18 Thread Dan Gohman
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.119 -> 1.120 --- Log message: In SCEVAddExpr::get, skip over any cast operands before looking for nested add operands after constant operands. The recent change to recognize sign-extend expressions caused this to be exposed

Re: [llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp

2007-06-18 Thread Dan Gohman
; scAddExpr is not obvious :) I think if you read the whole body of SCEVAddExpr::get instead of just what's in this diff, it'll be more more obvious. The operands of theSCEVAddExpr are sorted by their getSCEVType() value, and the code is walking through them expecting to deal

Re: [llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp VirtRegMap.cpp

2007-06-18 Thread Dan Gohman
tested yet, but it shows what I think you're asking for. I left LDRcp in, but that can be fixed. Dan -- Dan Gohman, Cray Inc. Index: include/llvm/Target/TargetInstrInfo.h === RCS file: /var/cvs/llvm/llvm/include/llvm/Target/Targ

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

2007-06-18 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen: LiveIntervalAnalysis.cpp updated: 1.247 -> 1.248 VirtRegMap.cpp updated: 1.112 -> 1.113 --- Log message: Replace M_REMATERIALIZIBLE and the newly-added isOtherReMaterializableLoad with a general target hook to identify rematerializable instructions. Some i

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

2007-06-18 Thread Dan Gohman
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.cpp updated: 1.38 -> 1.39 ARMInstrInfo.h updated: 1.15 -> 1.16 ARMInstrInfo.td updated: 1.111 -> 1.112 ARMInstrThumb.td updated: 1.31 -> 1.32 --- Log message: Replace M_REMATERIALIZIBLE and the newly-added isOtherReMaterializableLoad with a

[llvm-commits] CVS: llvm/utils/TableGen/CodeGenInstruction.h CodeGenTarget.cpp InstrInfoEmitter.cpp

2007-06-18 Thread Dan Gohman
Changes in directory llvm/utils/TableGen: CodeGenInstruction.h updated: 1.29 -> 1.30 CodeGenTarget.cpp updated: 1.93 -> 1.94 InstrInfoEmitter.cpp updated: 1.61 -> 1.62 --- Log message: Replace M_REMATERIALIZIBLE and the newly-added isOtherReMaterializableLoad with a general target hook to ident

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrFPStack.td X86InstrInfo.cpp X86InstrInfo.h X86InstrInfo.td X86InstrMMX.td X86InstrSSE.td

2007-06-18 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86InstrFPStack.td updated: 1.9 -> 1.10 X86InstrInfo.cpp updated: 1.91 -> 1.92 X86InstrInfo.h updated: 1.66 -> 1.67 X86InstrInfo.td updated: 1.307 -> 1.308 X86InstrMMX.td updated: 1.32 -> 1.33 X86InstrSSE.td updated: 1.183 -> 1.184 --- Log message: Repl

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

2007-06-18 Thread Dan Gohman
Changes in directory llvm/lib/Target: Target.td updated: 1.104 -> 1.105 --- Log message: Replace M_REMATERIALIZIBLE and the newly-added isOtherReMaterializableLoad with a general target hook to identify rematerializable instructions. Some instructions are only rematerializable with specific ope

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

2007-06-18 Thread Dan Gohman
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.131 -> 1.132 --- Log message: Replace M_REMATERIALIZIBLE and the newly-added isOtherReMaterializableLoad with a general target hook to identify rematerializable instructions. Some instructions are only rematerializable

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

2007-06-19 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: DAGCombiner.cpp updated: 1.312 -> 1.313 ScheduleDAG.cpp updated: 1.125 -> 1.126 SelectionDAG.cpp updated: 1.407 -> 1.408 --- Log message: Pass a SelectionDAG into SDNode::dump everywhere it's used, in prepration for needing the DAG node to pri

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

2007-06-19 Thread Dan Gohman
Changes in directory llvm/lib/Target/Alpha: AlphaISelDAGToDAG.cpp updated: 1.69 -> 1.70 --- Log message: Pass a SelectionDAG into SDNode::dump everywhere it's used, in prepration for needing the DAG node to print pre-legalize extended value types, and to get better debug messages with target-sp

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

2007-06-19 Thread Dan Gohman
Changes in directory llvm/lib/Target/IA64: IA64ISelDAGToDAG.cpp updated: 1.65 -> 1.66 --- Log message: Pass a SelectionDAG into SDNode::dump everywhere it's used, in prepration for needing the DAG node to print pre-legalize extended value types, and to get better debug messages with target-spec

[llvm-commits] CVS: llvm/include/llvm/Analysis/ScalarEvolution.h

2007-06-19 Thread Dan Gohman
Changes in directory llvm/include/llvm/Analysis: ScalarEvolution.h updated: 1.21 -> 1.22 --- Log message: Rename ScalarEvolution::deleteInstructionFromRecords to deleteValueFromRecords and loosen the types to all it to accept Value* instead of just Instruction*, since this is what ScalarEvoluti

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

2007-06-19 Thread Dan Gohman
Changes in directory llvm/lib/Analysis: ScalarEvolution.cpp updated: 1.120 -> 1.121 --- Log message: Rename ScalarEvolution::deleteInstructionFromRecords to deleteValueFromRecords and loosen the types to all it to accept Value* instead of just Instruction*, since this is what ScalarEvolution us

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

2007-06-19 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Scalar: IndVarSimplify.cpp updated: 1.122 -> 1.123 LoopStrengthReduce.cpp updated: 1.141 -> 1.142 --- Log message: Rename ScalarEvolution::deleteInstructionFromRecords to deleteValueFromRecords and loosen the types to all it to accept Value* instead of j

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

2007-06-21 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.498 -> 1.499 TargetLowering.cpp updated: 1.120 -> 1.121 --- Log message: Tidy up ValueType names in comments. --- Diffs of the changes: (+5 -5) LegalizeDAG.cpp|4 ++-- TargetLowering.cpp |6 +++--- 2

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

2007-06-21 Thread Dan Gohman
Changes in directory llvm/include/llvm/Target: TargetLowering.h updated: 1.127 -> 1.128 --- Log message: Rename TargetLowering::getNumElements and friends to TargetLowering::getNumRegisters and similar, to avoid confusion with the actual number of elements for vector types. --- Diffs of the c

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

2007-06-21 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.466 -> 1.467 TargetLowering.cpp updated: 1.119 -> 1.120 --- Log message: Rename TargetLowering::getNumElements and friends to TargetLowering::getNumRegisters and similar, to avoid confusion with the actual numbe

Re: [llvm-commits] CVS: llvm/lib/Target/X86/X86InstrFPStack.td X86InstrInfo.cpp X86InstrInfo.h X86InstrInfo.td X86InstrMMX.td X86InstrSSE.td

2007-06-21 Thread Dan Gohman
n when inspecting the .td files. > > I'm sorry I didn't look at your patch when you asked for comments, > but does this proposal sound sane? *shrug*. Adding isReMaterializable flags to all the load instructions in the X86 files isn't unambiguously prettier though. B

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

2007-06-22 Thread Dan Gohman
Changes in directory llvm/lib/Target/ARM: ARMISelLowering.cpp updated: 1.58 -> 1.59 ARMISelLowering.h updated: 1.17 -> 1.18 --- Log message: Move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits from TargetLowering to SelectionDAG so that they have more convenient access to the curr

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

2007-06-22 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86ISelDAGToDAG.cpp updated: 1.149 -> 1.150 X86ISelLowering.cpp updated: 1.413 -> 1.414 X86ISelLowering.h updated: 1.100 -> 1.101 --- Log message: Move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits from TargetLowering to SelectionDAG so t

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

2007-06-22 Thread Dan Gohman
Changes in directory llvm/lib/Target/Sparc: SparcISelDAGToDAG.cpp updated: 1.122 -> 1.123 --- Log message: Move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits from TargetLowering to SelectionDAG so that they have more convenient access to the current DAG, in preparation for the Va

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

2007-06-22 Thread Dan Gohman
Changes in directory llvm/lib/Target/PowerPC: PPCISelDAGToDAG.cpp updated: 1.230 -> 1.231 PPCISelLowering.cpp updated: 1.274 -> 1.275 PPCISelLowering.h updated: 1.65 -> 1.66 --- Log message: Move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits from TargetLowering to SelectionDAG so

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

2007-06-22 Thread Dan Gohman
Changes in directory llvm/include/llvm/CodeGen: SelectionDAG.h updated: 1.150 -> 1.151 --- Log message: Move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits from TargetLowering to SelectionDAG so that they have more convenient access to the current DAG, in preparation for the Value

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

2007-06-22 Thread Dan Gohman
Changes in directory llvm/include/llvm/Target: TargetLowering.h updated: 1.128 -> 1.129 --- Log message: Move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits from TargetLowering to SelectionDAG so that they have more convenient access to the current DAG, in preparation for the Valu

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

2007-06-22 Thread Dan Gohman
Changes in directory llvm/lib/Target/Alpha: AlphaISelDAGToDAG.cpp updated: 1.70 -> 1.71 --- Log message: Move ComputeMaskedBits, MaskedValueIsZero, and ComputeNumSignBits from TargetLowering to SelectionDAG so that they have more convenient access to the current DAG, in preparation for the Valu

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

2007-06-25 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86ATTAsmPrinter.cpp updated: 1.107 -> 1.108 X86ATTAsmPrinter.h updated: 1.18 -> 1.19 --- Log message: Say AT&T instead of Intel in the comments for AT&T support. --- Diffs of the changes: (+3 -3) X86ATTAsmPrinter.cpp |4 ++-- X86ATTAsmPrinter.

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

2007-06-25 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86InstrSSE.td updated: 1.184 -> 1.185 --- Log message: Fix loadv2i32 to be loadv4i32, though it isn't actually used anywhere yet. --- Diffs of the changes: (+1 -1) X86InstrSSE.td |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: l

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

2007-06-25 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86InstrSSE.td updated: 1.185 -> 1.186 --- Log message: Make minor adjustments to whitespace and comments to reduce differences between SSE1 instructions and their respective SSE2 analogues. --- Diffs of the changes: (+28 -25) X86InstrSSE.td | 53

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

2007-06-25 Thread Dan Gohman
Changes in directory llvm/include/llvm/Target: TargetLowering.h updated: 1.129 -> 1.130 --- Log message: Generalize MVT::ValueType and associated functions to be able to represent extended vector types. Remove the special SDNode opcodes used for pre-legalize vector operations, and the special M

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

2007-06-25 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86ISelLowering.cpp updated: 1.414 -> 1.415 --- Log message: Generalize MVT::ValueType and associated functions to be able to represent extended vector types. Remove the special SDNode opcodes used for pre-legalize vector operations, and the special MVT

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

2007-06-25 Thread Dan Gohman
Changes in directory llvm/lib/VMCore: ValueTypes.cpp updated: 1.18 -> 1.19 --- Log message: Generalize MVT::ValueType and associated functions to be able to represent extended vector types. Remove the special SDNode opcodes used for pre-legalize vector operations, and the special MVT::Vector ty

[llvm-commits] CVS: llvm/include/llvm/CodeGen/CallingConvLower.h SelectionDAG.h SelectionDAGNodes.h ValueTypes.h

2007-06-25 Thread Dan Gohman
Changes in directory llvm/include/llvm/CodeGen: CallingConvLower.h updated: 1.5 -> 1.6 SelectionDAG.h updated: 1.151 -> 1.152 SelectionDAGNodes.h updated: 1.192 -> 1.193 ValueTypes.h updated: 1.35 -> 1.36 --- Log message: Generalize MVT::ValueType and associated functions to be able to represen

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

2007-06-25 Thread Dan Gohman
Changes in directory llvm/include/llvm: Module.h updated: 1.89 -> 1.90 --- Log message: Add a convenince member function for appending strings to a module's module-level asm string data. --- Diffs of the changes: (+7 -0) Module.h |7 +++ 1 files changed, 7 insertions(+) Index: ll

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

2007-06-25 Thread Dan Gohman
Changes in directory llvm/utils/TableGen: IntrinsicEmitter.cpp updated: 1.32 -> 1.33 --- Log message: Fix a typo in a comment. --- Diffs of the changes: (+1 -1) IntrinsicEmitter.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/utils/TableGen/IntrinsicEmitter.cpp

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

2007-06-25 Thread Dan Gohman
Changes in directory llvm/include/llvm/Target: TargetInstrInfo.h updated: 1.132 -> 1.133 --- Log message: Revert the earlier change that removed the M_REMATERIALIZABLE machine instruction flag, and use the flag along with a virtual member function hook for targets to override if there are instr

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

2007-06-25 Thread Dan Gohman
Changes in directory llvm/lib/Target/ARM: ARMInstrInfo.cpp updated: 1.39 -> 1.40 ARMInstrInfo.h updated: 1.16 -> 1.17 ARMInstrInfo.td updated: 1.114 -> 1.115 ARMInstrThumb.td updated: 1.32 -> 1.33 --- Log message: Revert the earlier change that removed the M_REMATERIALIZABLE machine instruction

[llvm-commits] CVS: llvm/utils/TableGen/CodeGenInstruction.h CodeGenTarget.cpp InstrInfoEmitter.cpp

2007-06-25 Thread Dan Gohman
Changes in directory llvm/utils/TableGen: CodeGenInstruction.h updated: 1.30 -> 1.31 CodeGenTarget.cpp updated: 1.94 -> 1.95 InstrInfoEmitter.cpp updated: 1.62 -> 1.63 --- Log message: Revert the earlier change that removed the M_REMATERIALIZABLE machine instruction flag, and use the flag along

[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrFPStack.td X86InstrInfo.cpp X86InstrInfo.h X86InstrInfo.td X86InstrMMX.td X86InstrSSE.td

2007-06-25 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86InstrFPStack.td updated: 1.10 -> 1.11 X86InstrInfo.cpp updated: 1.92 -> 1.93 X86InstrInfo.h updated: 1.67 -> 1.68 X86InstrInfo.td updated: 1.308 -> 1.309 X86InstrMMX.td updated: 1.33 -> 1.34 X86InstrSSE.td updated: 1.186 -> 1.187 --- Log message: Rev

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

2007-06-25 Thread Dan Gohman
Changes in directory llvm/lib/Target: Target.td updated: 1.105 -> 1.106 --- Log message: Revert the earlier change that removed the M_REMATERIALIZABLE machine instruction flag, and use the flag along with a virtual member function hook for targets to override if there are instructions that are

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

2007-06-26 Thread Dan Gohman
Changes in directory llvm/include/llvm/CodeGen: ValueTypes.h updated: 1.36 -> 1.37 ValueTypes.td updated: 1.4 -> 1.5 --- Log message: Renumber the SimpleValueType values to fill in the hole left by removing MVT::Vector. --- Diffs of the changes: (+24 -25) ValueTypes.h | 26 +

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

2007-06-26 Thread Dan Gohman
conservative checks with specific checks for !AfterLegalize || TLI.isOperationLegal() as is done in other places to protect against creating illegal nodes. >> +MVT::ValueType VT = MVT::getVectorType(DstEltVT, >> + Ops.size()); >

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

2007-06-26 Thread Dan Gohman
Changes in directory llvm/lib/VMCore: ValueTypes.cpp updated: 1.19 -> 1.20 --- Log message: Use utostr from StringExtras.h instead of ostringstream from . --- Diffs of the changes: (+4 -7) ValueTypes.cpp | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) Index: llvm/lib

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

2007-06-26 Thread Dan Gohman
Changes in directory llvm/include/llvm/Target: TargetLowering.h updated: 1.130 -> 1.131 --- Log message: Simplify the expression for TargetLowering::isTypeLegal. --- Diffs of the changes: (+1 -3) TargetLowering.h |4 +--- 1 files changed, 1 insertion(+), 3 deletions(-) Index: llvm/in

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

2007-06-26 Thread Dan Gohman
Changes in directory llvm/include/llvm/CodeGen: ValueTypes.h updated: 1.37 -> 1.38 --- Log message: Simplify the expression for MVT::isExtendedValueType. --- Diffs of the changes: (+1 -1) ValueTypes.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Code

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

2007-06-26 Thread Dan Gohman
Changes in directory llvm/include/llvm/Target: TargetLowering.h updated: 1.131 -> 1.132 --- Log message: Replace ?: with if statements, for clarity. --- Diffs of the changes: (+12 -18) TargetLowering.h | 30 -- 1 files changed, 12 insertions(+), 18 deletions(-

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

2007-06-27 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.501 -> 1.502 --- Log message: Make the comment for ScalarizeVectorOp mention that it is only for use with single-element vectors. --- Diffs of the changes: (+6 -4) LegalizeDAG.cpp | 10 ++ 1 files chan

[llvm-commits] CVS: llvm/include/llvm/Support/Debug.h

2007-06-27 Thread Dan Gohman
Changes in directory llvm/include/llvm/Support: Debug.h updated: 1.15 -> 1.16 --- Log message: Allow DOUT to be used outside of the llvm namespace. --- Diffs of the changes: (+2 -2) Debug.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Support/Deb

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

2007-06-27 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.469 -> 1.470 --- Log message: Use getVectorTypeBreakdown in FunctionLoweringInfo::CreateRegForValue to compute the number and type of registers needed for vector values instead of computing it manually. This fix

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

2007-06-27 Thread Dan Gohman
D kind with nodes that can have a vector ValueType, ConstantFP can also be "vectorized". A ConstantFP with a vector ValueType is a vector constant, equivalent to what is currently represented as a splat BUILD_VECTOR, except that it's easier to work with :). Dan -- Dan Gohman, Cray Inc. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

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

2007-06-27 Thread Dan Gohman
Changes in directory llvm/lib/Target/X86: X86TargetAsmInfo.cpp updated: 1.42 -> 1.43 --- Log message: Remove a redundant newline in the asm output for ELF .rodata sections. --- Diffs of the changes: (+1 -1) X86TargetAsmInfo.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) In

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

2007-06-27 Thread Dan Gohman
Changes in directory llvm/include/llvm/CodeGen: ValueTypes.h updated: 1.38 -> 1.39 --- Log message: Document the encoding of MVT::ValueType. --- Diffs of the changes: (+6 -0) ValueTypes.h |6 ++ 1 files changed, 6 insertions(+) Index: llvm/include/llvm/CodeGen/ValueTypes.h diff -

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

2007-06-27 Thread Dan Gohman
. %x = undef; if (%x >= 0) %z = %y / (%x + 1); // don't divide by undef! (offtopic, wouldn't it be nifty to have a parser for LLVM that used a C-ish expression syntax?). It seems that only undef*0 and undef+0 and a few similar things are really safe here. And those aren't specific to undef. Dan -- Dan Gohman, Cray Inc. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

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

2007-06-27 Thread Dan Gohman
Changes in directory llvm/include/llvm/Target: TargetLowering.h updated: 1.132 -> 1.133 --- Log message: Rename ("shrinkify") MVT::isExtendedValueType to MVT::isExtendedVT. --- Diffs of the changes: (+13 -13) TargetLowering.h | 26 +- 1 files changed, 13 insertion

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

2007-06-27 Thread Dan Gohman
Changes in directory llvm/lib/VMCore: ValueTypes.cpp updated: 1.20 -> 1.21 --- Log message: Rename ("shrinkify") MVT::isExtendedValueType to MVT::isExtendedVT. --- Diffs of the changes: (+2 -2) ValueTypes.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/V

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

2007-06-27 Thread Dan Gohman
Changes in directory llvm/lib/CodeGen/SelectionDAG: LegalizeDAG.cpp updated: 1.502 -> 1.503 SelectionDAG.cpp updated: 1.410 -> 1.411 --- Log message: Rename ("shrinkify") MVT::isExtendedValueType to MVT::isExtendedVT. --- Diffs of the changes: (+2 -2) LegalizeDAG.cpp |2 +- SelectionD

  1   2   3   4   5   >