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

2007-05-14 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.47 - 1.48 --- Log message: Correct a few comments. --- Diffs of the changes: (+5 -5) LoopUnroll.cpp | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) Index:

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

2007-05-11 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.46 - 1.47 --- Log message: This patch extends the LoopUnroll pass to be able to unroll loops with unknown trip counts. This is left off by default, and a command-line option enables it. It also begins to separate loop

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

2007-05-08 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.44 - 1.45 --- Log message: Correct the comment for ApproximateLoopSize to reflect what it actually does. --- Diffs of the changes: (+1 -2) LoopUnroll.cpp |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-)

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

2007-05-08 Thread Dan Gohman
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.45 - 1.46 --- Log message: Fix various whitespace inconsistencies. --- Diffs of the changes: (+10 -10) LoopUnroll.cpp | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) Index:

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

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.42 - 1.43 --- Log message: make a temporary for *SI, no functionality change. --- Diffs of the changes: (+7 -6) LoopUnroll.cpp | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) Index:

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

2007-05-05 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.43 - 1.44 --- Log message: Fix Transforms/LoopUnroll/2007-05-05-UnrollMiscomp.ll and PR1385: http://llvm.org/PR1385 . If we have a LCSSA, only modify the input value if the inval was defined by an instruction in the

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

2007-04-16 Thread Devang Patel
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.38 - 1.39 --- Log message: Fix http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070416/047888.html --- Diffs of the changes: (+6 -0) LoopUnroll.cpp |6 ++ 1 files changed, 6 insertions(+)

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

2007-03-06 Thread Devang Patel
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.37 - 1.38 --- Log message: Now LoopUnroll is a LoopPass. --- Diffs of the changes: (+7 -36) LoopUnroll.cpp | 43 +++ 1 files changed, 7 insertions(+), 36 deletions(-)

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

2007-03-02 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.36 - 1.37 --- Log message: Guard against huge loop trip counts in an APInt safe way. --- Diffs of the changes: (+7 -2) LoopUnroll.cpp |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) Index:

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

2007-03-02 Thread Chris Lattner
On Mar 2, 2007, at 3:31 PM, Reid Spencer wrote: + // Guard against huge trip counts. This also guards against assertions in + // APInt from the use of getZExtValue, below. + if (TripCountC-getValue().getActiveBits() 32) return Changed; // More than 2^32 iterations??? +

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

2007-03-02 Thread Reid Spencer
On Fri, 2007-03-02 at 15:35 -0800, Chris Lattner wrote: On Mar 2, 2007, at 3:31 PM, Reid Spencer wrote: + // Guard against huge trip counts. This also guards against assertions in + // APInt from the use of getZExtValue, below. + if (TripCountC-getValue().getActiveBits() 32)

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

2007-03-02 Thread Chris Lattner
On Mar 2, 2007, at 3:40 PM, Reid Spencer wrote: On Fri, 2007-03-02 at 15:35 -0800, Chris Lattner wrote: On Mar 2, 2007, at 3:31 PM, Reid Spencer wrote: + // Guard against huge trip counts. This also guards against assertions in + // APInt from the use of getZExtValue, below. + if

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

2006-08-27 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.26 - 1.27 --- Log message: Make LoopUnroll fold excessive BasicBlocks. This results in a significant speedup of gccas on 252.eon --- Diffs of the changes: (+89 -9) LoopUnroll.cpp | 98

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

2006-08-25 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.24 - 1.25 --- Log message: Fix a crash related to updating Phi nodes in the original header block. This was causing a crash in 175.vpr --- Diffs of the changes: (+2 -1) LoopUnroll.cpp |3 ++- 1 files changed,

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

2006-07-18 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.20 - 1.21 --- Log message: Make LoopUnroll not die on LCSSA Phis. This makes lencod work again. --- Diffs of the changes: (+6 -0) LoopUnroll.cpp |6 ++ 1 files changed, 6 insertions(+) Index:

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

2006-07-18 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.21 - 1.22 --- Log message: Add an assertion. --- Diffs of the changes: (+2 -0) LoopUnroll.cpp |2 ++ 1 files changed, 2 insertions(+) Index: llvm/lib/Transforms/Scalar/LoopUnroll.cpp diff -u

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

2006-06-07 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/Scalar: LoopUnroll.cpp updated: 1.19 - 1.20 --- Log message: Fix a spello in a comment. --- Diffs of the changes: (+1 -1) LoopUnroll.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Scalar/LoopUnroll.cpp