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

2007-06-15 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Instructions.cpp updated: 1.92 - 1.93 --- Log message: Enhance BinaryOperator::isNot to support vector not. --- Diffs of the changes: (+5 -1) Instructions.cpp |6 +- 1 files changed, 5 insertions(+), 1 deletion(-) Index:

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

2007-06-15 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Constants.cpp updated: 1.229 - 1.230 --- Log message: add a Constant::getAllOnesValue helper function, which works on integers AND vectors. --- Diffs of the changes: (+5 -0) Constants.cpp |5 + 1 files changed, 5 insertions(+) Index:

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

2007-06-15 Thread Chris Lattner
Changes in directory llvm/include/llvm: Constant.h updated: 1.36 - 1.37 --- Log message: add a Constant::getAllOnesValue helper function, which works on integers AND vectors. --- Diffs of the changes: (+5 -0) Constant.h |5 + 1 files changed, 5 insertions(+) Index:

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

2007-06-15 Thread Chris Lattner
Changes in directory llvm/include/llvm/Support: PatternMatch.h updated: 1.20 - 1.21 --- Log message: m_not should match vector not --- Diffs of the changes: (+5 -1) PatternMatch.h |6 +- 1 files changed, 5 insertions(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/test/Transforms/InstCombine/and-or-not.ll

2007-06-15 Thread Chris Lattner
Changes in directory llvm/test/Transforms/InstCombine: and-or-not.ll updated: 1.1 - 1.2 --- Log message: add vector versions of this test --- Diffs of the changes: (+20 -1) and-or-not.ll | 21 - 1 files changed, 20 insertions(+), 1 deletion(-) Index:

[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

Re: [llvm-commits] Workaround for PR1508

2007-06-15 Thread Duncan Sands
Seems fine to me, minor comments: How about this? [I had to make the critical edge detection less conservative after finding a testcase in which some critical edges were not empty]. Ciao, Duncan. Index: llvm.master/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

[llvm-commits] CVS: llvm/test/C++Frontend/2007-05-23-TryFinally.cpp

2007-06-15 Thread Duncan Sands
Changes in directory llvm/test/C++Frontend: 2007-05-23-TryFinally.cpp updated: 1.2 - 1.3 --- Log message: Use ignore rather than grep tricks. --- Diffs of the changes: (+2 -1) 2007-05-23-TryFinally.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index:

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

2007-06-15 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp updated: 1.51 - 1.52 --- Log message: Extra edges are deleted later if needed. --- Diffs of the changes: (+0 -1) IfConversion.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm/lib/CodeGen/IfConversion.cpp diff -u

Re: [llvm-commits] Workaround for PR1508

2007-06-15 Thread Chris Lattner
On Jun 15, 2007, at 10:01 AM, Duncan Sands wrote: Seems fine to me, minor comments: How about this? [I had to make the critical edge detection less conservative after finding a testcase in which some critical edges were not empty]. Ciao, Duncan. eh_hack.diff Ah, another minor

[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

[llvm-commits] CVS: llvm/test/CodeGen/Generic/2007-04-14-EHSelectorCrash.ll 2007-06-06-CriticalEdgeLandingPad.ll

2007-06-15 Thread Duncan Sands
Changes in directory llvm/test/CodeGen/Generic: 2007-04-14-EHSelectorCrash.ll updated: 1.2 - 1.3 2007-06-06-CriticalEdgeLandingPad.ll updated: 1.1 - 1.2 --- Log message: Workaround for PR1508: http://llvm.org/PR1508 . --- Diffs of the changes: (+5 -1) 2007-04-14-EHSelectorCrash.ll

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

2007-06-15 Thread Duncan Sands
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.463 - 1.464 --- Log message: Workaround for PR1508: http://llvm.org/PR1508 . --- Diffs of the changes: (+96 -29) SelectionDAGISel.cpp | 125 +++ 1 files

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

2007-06-15 Thread Evan Cheng
Changes in directory llvm/include/llvm/CodeGen: MachineInstr.h updated: 1.221 - 1.222 --- Log message: No longer needed. --- Diffs of the changes: (+0 -4) MachineInstr.h |4 1 files changed, 4 deletions(-) Index: llvm/include/llvm/CodeGen/MachineInstr.h diff -u

Re: [llvm-commits] Workaround for PR1508

2007-06-15 Thread Duncan Sands
Ah, another minor simplification: +/// isFilterOrSelector - Return true if this instruction is a call to the +/// eh.filter or the eh.selector intrinsic. +static bool isFilterOrSelector(Instruction *I) { if (IntrinsicInst *II = dyn_castIntrinsicInst(I)) return

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

2007-06-15 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp updated: 1.52 - 1.53 MachineInstr.cpp updated: 1.151 - 1.152 --- Log message: MachineInstr::isPredicable() is no longer needed. --- Diffs of the changes: (+5 -10) IfConversion.cpp | 11 +-- MachineInstr.cpp |4 2

[llvm-commits] CVS: llvm/test/CodeGen/X86/inline-asm-x-scalar.ll

2007-06-15 Thread Chris Lattner
Changes in directory llvm/test/CodeGen/X86: inline-asm-x-scalar.ll updated: 1.2 - 1.3 --- Log message: make this test harder, include a tied register. --- Diffs of the changes: (+7 -0) inline-asm-x-scalar.ll |7 +++ 1 files changed, 7 insertions(+) Index:

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

2007-06-15 Thread Chris Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.464 - 1.465 --- Log message: Fix CodeGen/X86/inline-asm-x-scalar.ll:test4, by retaining regclass info for tied register constraints. --- Diffs of the changes: (+9 -6) SelectionDAGISel.cpp | 15

[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

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

2007-06-15 Thread John Criswell
Changes in directory llvm-www: SVNMigration.html updated: 1.14 - 1.15 --- Log message: Bumped date back. --- Diffs of the changes: (+2 -2) SVNMigration.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm-www/SVNMigration.html diff -u

[llvm-commits] CVS: llvm-www/devmtg/2007-05/08-Criswell-SVA.pdf

2007-06-15 Thread John Criswell
Changes in directory llvm-www/devmtg/2007-05: 08-Criswell-SVA.pdf added (r1.1) --- Log message: PDF of Slides --- Diffs of the changes: (+0 -0) 08-Criswell-SVA.pdf |0 1 files changed Index: llvm-www/devmtg/2007-05/08-Criswell-SVA.pdf

[llvm-commits] CVS: llvm-www/devmtg/2007-05/index.html

2007-06-15 Thread John Criswell
Changes in directory llvm-www/devmtg/2007-05: index.html updated: 1.8 - 1.9 --- Log message: Added slides in PDF and PowerPoint format. --- Diffs of the changes: (+3 -1) index.html |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm-www/devmtg/2007-05/index.html

[llvm-commits] CVS: llvm-www/devmtg/2007-05/index.html

2007-06-15 Thread John Criswell
Changes in directory llvm-www/devmtg/2007-05: index.html updated: 1.9 - 1.10 --- Log message: Fixed formatting. --- Diffs of the changes: (+4 -4) index.html |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm-www/devmtg/2007-05/index.html diff -u

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

2007-06-15 Thread Tanya Lattner
Changes in directory llvm/docs: LangRef.html updated: 1.254 - 1.255 --- Log message: Add local var annotation intrinsic. --- Diffs of the changes: (+51 -1) LangRef.html | 52 +++- 1 files changed, 51 insertions(+), 1 deletion(-) Index:

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

2007-06-15 Thread Chris Lattner
On Jun 15, 2007, at 7:38 AM, Dan Gohman wrote: 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

[llvm-commits] CVS: llvm/include/llvm/Intrinsics.td

2007-06-15 Thread Tanya Lattner
Changes in directory llvm/include/llvm: Intrinsics.td updated: 1.55 - 1.56 --- Log message: Add local var annotation intrinsic. --- Diffs of the changes: (+5 -0) Intrinsics.td |5 + 1 files changed, 5 insertions(+) Index: llvm/include/llvm/Intrinsics.td diff -u

[llvm-commits] CVS: llvm/test/CFrontend/2007-06-15-AnnotateAttribute.c

2007-06-15 Thread Tanya Lattner
Changes in directory llvm/test/CFrontend: 2007-06-15-AnnotateAttribute.c added (r1.1) --- Log message: test case for annotate attribute --- Diffs of the changes: (+25 -0) 2007-06-15-AnnotateAttribute.c | 25 + 1 files changed, 25 insertions(+) Index:

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

2007-06-15 Thread Chris Lattner
On Jun 15, 2007, at 7:38 AM, Dan Gohman wrote: +case Instruction::SExt: + return SCEVSignExtendExpr::get(getSCEV(I-getOperand(0)), I- getType()); + Nifty. Have you done any performance analysis of this? What cases is it beneficial for? If this helps LSR, for example, can you

[llvm-commits] [128471] Add annotate attribute.

2007-06-15 Thread lattner
Revision: 128471 Author: lattner Date: 2007-06-15 14:02:55 -0700 (Fri, 15 Jun 2007) Log Message: --- Add annotate attribute. Modified Paths: -- apple-local/branches/llvm/gcc/c-common.c apple-local/branches/llvm/gcc/llvm-backend.cpp

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

2007-06-15 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp updated: 1.53 - 1.54 --- Log message: Not every predicable block can be safely duplicated. --- Diffs of the changes: (+35 -8) IfConversion.cpp | 43 +++ 1 files changed, 35 insertions(+), 8

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

2007-06-15 Thread Chris Lattner
On Jun 15, 2007, at 2:15 PM, Evan Cheng wrote: Instructions with unique labels or embedded jumptables cannot be duplicated during ifcvt. Please turn this into a targetinstrinfo bit. Virtual methods should only be used for properties whose behavior is a property of the *operands* of the

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

2007-06-15 Thread Tanya Lattner
Changes in directory llvm/lib/CodeGen: IntrinsicLowering.cpp updated: 1.87 - 1.88 --- Log message: Codegen support (stripped out) for the annotate attribute. --- Diffs of the changes: (+3 -0) IntrinsicLowering.cpp |3 +++ 1 files changed, 3 insertions(+) Index:

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

2007-06-15 Thread Tanya Lattner
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.465 - 1.466 --- Log message: Codegen support (stripped out) for the annotate attribute. --- Diffs of the changes: (+4 -0) SelectionDAGISel.cpp |4 1 files changed, 4 insertions(+) Index:

[llvm-commits] CVS: llvm/test/Transforms/GVNPRE/2007-06-15-InvokeInst.ll

2007-06-15 Thread Owen Anderson
Changes in directory llvm/test/Transforms/GVNPRE: 2007-06-15-InvokeInst.ll added (r1.1) --- Log message: Testcase where GVNPRE was getting confused by invoke instructions. --- Diffs of the changes: (+70 -0) 2007-06-15-InvokeInst.ll | 70 +++ 1

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

2007-06-15 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: GVNPRE.cpp updated: 1.33 - 1.34 --- Log message: Fix test/Transforms/GVNPRE/2007-06-15-InvokeInst.ll by ignoring all instructions that depend on invokes. --- Diffs of the changes: (+36 -3) GVNPRE.cpp | 39