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

2007-06-12 Thread Dale Johannesen
Changes in directory llvm/lib/Transforms/Scalar: CodeGenPrepare.cpp updated: 1.11 -> 1.12 --- Log message: Sink CmpInst's to their uses to reduce register pressure. --- Diffs of the changes: (+61 -3) CodeGenPrepare.cpp | 64 ++--- 1 files c

[llvm-commits] CVS: llvm/test/Transforms/GVNPRE/2007-06-12-NoExit.ll

2007-06-12 Thread Owen Anderson
Changes in directory llvm/test/Transforms/GVNPRE: 2007-06-12-NoExit.ll added (r1.1) --- Log message: Testcase where GVNPRE crashes on functions with no exit nodes. --- Diffs of the changes: (+9 -0) 2007-06-12-NoExit.ll |9 + 1 files changed, 9 insertions(+) Index: llvm/test/T

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

2007-06-12 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: GVNPRE.cpp updated: 1.30 -> 1.31 --- Log message: Refactor some code, and fix test/Transforms/GVNPRE/2007-06-12-NoExit.ll by being more careful when using post-dominator information. --- Diffs of the changes: (+69 -47) GVNPRE.cpp | 116 +++

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

2007-06-12 Thread Chris Lattner
Changes in directory llvm/docs: LangRef.html updated: 1.252 -> 1.253 --- Log message: modernize example --- Diffs of the changes: (+6 -6) LangRef.html | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.252

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

2007-06-12 Thread Chris Lattner
Changes in directory llvm/docs: LangRef.html updated: 1.253 -> 1.254 --- Log message: one final bugfix --- Diffs of the changes: (+2 -2) LangRef.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.253 llvm/docs

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

2007-06-12 Thread Devang Patel
Changes in directory llvm/lib/VMCore: Dominators.cpp updated: 1.114 -> 1.115 --- Log message: Check A dominates B and vise versa first while searching for nearest common dominator. --- Diffs of the changes: (+4 -8) Dominators.cpp | 12 1 files changed, 4 insertions(+), 8 del

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

2007-06-12 Thread Devang Patel
Changes in directory llvm/include/llvm/Analysis: Dominators.h updated: 1.104 -> 1.105 --- Log message: Protect updateDFSNumbers() --- Diffs of the changes: (+3 -2) Dominators.h |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index: llvm/include/llvm/Analysis/Dominators.h d

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

2007-06-12 Thread Devang Patel
Changes in directory llvm/lib/VMCore: Dominators.cpp updated: 1.115 -> 1.116 --- Log message: Remove redundant check. --- Diffs of the changes: (+3 -7) Dominators.cpp | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) Index: llvm/lib/VMCore/Dominators.cpp diff -u llvm/li

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

2007-06-12 Thread Devang Patel
Changes in directory llvm/lib/VMCore: Dominators.cpp updated: 1.116 -> 1.117 --- Log message: isReachableFromEntry() is not suitable for post dominator. --- Diffs of the changes: (+2 -0) Dominators.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/VMCore/Dominators.cpp diff

[llvm-commits] proposed patch: shift when shift amount >= bit width

2007-06-12 Thread Lauro Ramos Venancio
The attached patch unify the handle of shifts when the shift amount is greater or equal the bit width. Nowadays, LLVM evaluates shl(i32 X,32) to 0 in some places and to undef in other places. For compatibility purpose, this patch implements the gcc behavior. This fix the miscompilation of the fi

[llvm-commits] CVS: llvm/test/Transforms/GVNPRE/Output/

2007-06-12 Thread LLVM
Changes in directory llvm/test/Transforms/GVNPRE/Output: --- Log message: Directory /var/cvs/llvm/llvm/test/Transforms/GVNPRE/Output added to the repository --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-

[llvm-commits] CVS: llvm/test/Transforms/GVNPRE/2007-06-12-PhiTranslate.ll

2007-06-12 Thread Owen Anderson
Changes in directory llvm/test/Transforms/GVNPRE: 2007-06-12-PhiTranslate.ll added (r1.1) --- Log message: Add a test where phi translation was producing a null result. --- Diffs of the changes: (+19 -0) 2007-06-12-PhiTranslate.ll | 19 +++ 1 files changed, 19 insertions(

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

2007-06-12 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: GVNPRE.cpp updated: 1.31 -> 1.32 --- Log message: Fix test/Transforms/GVNPRE/2007-06-12-PhiTranslate.ll --- Diffs of the changes: (+39 -38) GVNPRE.cpp | 77 ++--- 1 files changed, 39

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

2007-06-12 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp updated: 1.44 -> 1.45 --- Log message: Now if-converting all 4 variants of triangles. --- Diffs of the changes: (+40 -24) IfConversion.cpp | 64 ++- 1 files changed, 40 insertions(+

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

2007-06-12 Thread Evan Cheng
Changes in directory llvm/lib/CodeGen: IfConversion.cpp updated: 1.45 -> 1.46 --- Log message: Typo --- Diffs of the changes: (+1 -1) IfConversion.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/IfConversion.cpp diff -u llvm/lib/CodeGen/IfConversion.c

Re: [llvm-commits] Fix PR1224 differently

2007-06-12 Thread Chris Lattner
Looks fine to me, please apply, -Chris On Jun 9, 2007, at 7:21 AM, Duncan Sands wrote: > The fix that was applied for PR1224 stops the compiler > crashing but breaks exception handling. The problem > described in PR1224 is that invoke is a terminator that > can produce a value. The value may b

[llvm-commits] [128368] From Duncan:

2007-06-12 Thread clattner
Revision: 128368 Author: clattner Date: 2007-06-12 22:33:53 -0700 (Tue, 12 Jun 2007) Log Message: --- >From Duncan: "When I got rid of the inreg attribute for static chain parameters, I simply deleted the attribute adding code while I should have pushed a attribute of "none" - this

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

2007-06-12 Thread Duncan Sands
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.458 -> 1.459 --- Log message: The fix that was applied for PR1224: http://llvm.org/PR1224 stops the compiler crashing but breaks exception handling. The problem described in PR1224: http://llvm.org/PR1224 is