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

2007-05-29 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.95 -> 1.96 --- Log message: Fix Transforms/ScalarRepl/2007-05-29-MemcpyPreserve.ll and the second half of PR1421: http://llvm.org/PR1421 , by not decimating structs with holes that are the source and destinati

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

2007-05-24 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.94 -> 1.95 --- Log message: Fix PR1446: http://llvm.org/PR1446 by not scalarrepl'ing giant structures. --- Diffs of the changes: (+5 -1) ScalarReplAggregates.cpp |6 +- 1 files changed, 5 insertio

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

2007-04-25 Thread Devang Patel
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.88 -> 1.89 --- Log message: Remove unused function argument. --- Diffs of the changes: (+1 -1) ScalarReplAggregates.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transform

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

2007-04-24 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.87 -> 1.88 --- Log message: If an alloca only has two types of uses: 1) reads 2) a memcpy/memmove that copies from a constant global, then we can change the reads to read from the global instead of from the all

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

2007-04-24 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.86 -> 1.87 --- Log message: refactor the SROA code out into its own method, no functionality change. --- Diffs of the changes: (+107 -98) ScalarReplAggregates.cpp | 205 ---

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

2007-04-11 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.83 -> 1.84 --- Log message: Fix Transforms/ScalarRepl/union-pointer.ll --- Diffs of the changes: (+7 -6) ScalarReplAggregates.cpp | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) In

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

2007-04-10 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.82 -> 1.83 --- Log message: fix a regression introduced by my last patch. --- Diffs of the changes: (+1 -14) ScalarReplAggregates.cpp | 15 +-- 1 files changed, 1 insertion(+), 14 deletions(-

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

2007-04-10 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.81 -> 1.82 --- Log message: Simplify SROA conversion to integer in some ways, make it more general in others. We now tolerate small amounts of undefined behavior, better emulating what would happen if the tra

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

2007-03-19 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.79 -> 1.80 --- Log message: fix ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll --- Diffs of the changes: (+2 -1) ScalarReplAggregates.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: l

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

2007-03-18 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.78 -> 1.79 --- Log message: implement the next chunk of SROA with memset/memcpy's of aggregates. This implements Transforms/ScalarRepl/memset-aggregate-byte-leader.ll --- Diffs of the changes: (+107 -36)

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

2007-03-07 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.77 -> 1.78 --- Log message: This appears correct, enable it so we can see perf changes on testers --- Diffs of the changes: (+1 -1) ScalarReplAggregates.cpp |2 +- 1 files changed, 1 insertion(+), 1 de

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

2007-03-07 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.76 -> 1.77 --- Log message: Second half of PR1226: http://llvm.org/PR1226 . This is currently still disabled, until I have a chance to do the correctness/performance analysis testing. --- Diffs of the chang

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

2007-03-04 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.75 -> 1.76 --- Log message: This is the first major step of implementing PR1226: http://llvm.org/PR1226 . We now successfully scalarrepl things down to elements, but mem2reg can't promote elements that are me

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

2006-12-22 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.59 -> 1.60 --- Log message: add a simple fast-path for dead allocas --- Diffs of the changes: (+8 -1) ScalarReplAggregates.cpp |9 - 1 files changed, 8 insertions(+), 1 deletion(-) Index: llv

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

2006-12-14 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.57 -> 1.58 --- Log message: re-enable a temporarily-reverted patch --- Diffs of the changes: (+132 -53) ScalarReplAggregates.cpp | 185 +-- 1 files changed, 132

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

2006-12-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.56 -> 1.57 --- Log message: revert my recent int<->fp and vector union promotion changes, they expose obscure bugs affecting the X86 code generator. I will reenable this when fixed. --- Diffs of the changes

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

2006-12-11 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.55 -> 1.56 --- Log message: Patch for PR1045: http://llvm.org/PR1045 and Transforms/ScalarRepl/2006-12-11-SROA-Crash.ll --- Diffs of the changes: (+2 -0) ScalarReplAggregates.cpp |2 ++ 1 files chang

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

2006-11-07 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.47 -> 1.48 --- Log message: scalarrepl should not split the two elements of the vsiidx array: int func(vFloat v0, vFloat v1) { int ii; vSInt32 vsiidx[2]; vsiidx[0] = _mm_cvttps_epi32(v0)

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

2006-10-23 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.45 -> 1.46 --- Log message: Fix Transforms/ScalarRepl/2006-10-23-PointerUnionCrash.ll --- Diffs of the changes: (+10 -5) ScalarReplAggregates.cpp | 15 ++- 1 files changed, 10 insertions(+),

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

2006-10-08 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.43 -> 1.44 --- Log message: Implement SROA of unions with mixed pointers/integers in them. This implements PR892: http://llvm.org/PR892 and Transforms/ScalarRepl/union-pointer.ll:test2 --- Diffs of the cha

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

2006-10-08 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.42 -> 1.43 --- Log message: Implement Transforms/ScalarRepl/union-pointer.ll:test --- Diffs of the changes: (+13 -9) ScalarReplAggregates.cpp | 22 +- 1 files changed, 13 insertions(

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

2006-04-20 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.38 -> 1.39 --- Log message: Fix Transforms/ScalarRepl/2006-04-20-PromoteCrash.ll --- Diffs of the changes: (+1 -1) ScalarReplAggregates.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index

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

2006-04-14 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.37 -> 1.38 --- Log message: Teach scalarrepl to promote unions of vectors and floats, producing insert/extractelement operations. This implements Transforms/ScalarRepl/vector_promote.ll --- Diffs of the ch

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

2006-03-07 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.36 -> 1.37 --- Log message: Fix a miscompilation of 188.ammp with the new CFE. 188.ammp is accessing arrays out of range in a horrible way, but we shouldn't break it anyway. Details in the comments. --- Diff

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

2006-01-24 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.35 -> 1.36 --- Log message: Fix Regression/Transforms/ScalarRepl/2006-01-24-IllegalUnionPromoteCrash.ll --- Diffs of the changes: (+1 -3) ScalarReplAggregates.cpp |4 +--- 1 files changed, 1 insertion

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

2005-12-14 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/Scalar: ScalarReplAggregates.cpp updated: 1.33 -> 1.34 --- Log message: Fix Transforms/ScalarRepl/2005-12-14-UnionPromoteCrash.ll, a crash on undefined behavior in 126.gcc on big-endian systems. --- Diffs of the changes: (+2 -2) ScalarReplAggregates