[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-14 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.111 - 1.112 --- Log message: fix SimplifyLibCalls/IsDigit.ll --- Diffs of the changes: (+1 -1) SimplifyLibCalls.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-13 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.110 - 1.111 --- Log message: Implement a few missing xforms: printf(foo\n) - puts. printf(x) - putchar printf() - noop. Still need to do the xforms for fprintf. This implements

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.108 - 1.109 --- Log message: implement a fixme: move optimizations for fwrite out of fputs into a new fwrite optimizer. --- Diffs of the changes: (+56 -26) SimplifyLibCalls.cpp | 82

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.109 - 1.110 --- Log message: Fix a typo that broke SimplifyLibCalls/SPrintF.ll (pr1315: http://llvm.org/PR1315 ) --- Diffs of the changes: (+1 -1) SimplifyLibCalls.cpp |2 +- 1 files changed, 1

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-07 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.104 - 1.105 --- Log message: Fix an off-by-one error that broke Prolangs/deriv2 with llc on x86 and Prolangs-C/cdecl --- Diffs of the changes: (+1 -1) SimplifyLibCalls.cpp |2 +- 1 files changed, 1

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-07 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.105 - 1.106 --- Log message: Change CastToCStr to take a pointer instead of a reference. Fix some miscompilations in fprintf optimizer. --- Diffs of the changes: (+76 -82) SimplifyLibCalls.cpp | 158

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-07 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.106 - 1.107 --- Log message: Fix problems in the sprintf optimizer --- Diffs of the changes: (+60 -81) SimplifyLibCalls.cpp | 141 +-- 1 files changed, 60

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-07 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.107 - 1.108 --- Log message: Significantly simplify the clients of GetConstantStringInfo, by having it just return the string itself. --- Diffs of the changes: (+153 -234) SimplifyLibCalls.cpp | 387

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-06 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.95 - 1.96 --- Log message: clean up strcat optimizer, no functionality change. --- Diffs of the changes: (+21 -28) SimplifyLibCalls.cpp | 49 + 1 files changed,

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-06 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.100 - 1.101 --- Log message: Introduce a new ReplaceCallWith method, which simplifies a lot of code. --- Diffs of the changes: (+86 -186) SimplifyLibCalls.cpp | 272

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-06 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.101 - 1.102 --- Log message: cleanups for strlen optimizer --- Diffs of the changes: (+21 -34) SimplifyLibCalls.cpp | 55 +++ 1 files changed, 21 insertions(+),

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-06 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.102 - 1.103 --- Log message: trunc to bool no longer compares against zero --- Diffs of the changes: (+5 -10) SimplifyLibCalls.cpp | 15 +-- 1 files changed, 5 insertions(+), 10 deletions(-)

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-04-06 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.103 - 1.104 --- Log message: fix a miscompilation in printf optimizer. --- Diffs of the changes: (+36 -38) SimplifyLibCalls.cpp | 74 --- 1 files changed, 36

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-02-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.92 - 1.93 --- Log message: eliminate a bunch of vector-related heap traffic --- Diffs of the changes: (+53 -47) SimplifyLibCalls.cpp | 100 +++ 1 files changed,

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-01-20 Thread Owen Anderson
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.88 - 1.89 --- Log message: Correct a comment. --- Diffs of the changes: (+1 -1) SimplifyLibCalls.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-01-14 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.86 - 1.87 --- Log message: Eliminate calls to isInteger, generalizing code and tightening checks as needed. --- Diffs of the changes: (+5 -5) SimplifyLibCalls.cpp | 10 +- 1 files changed, 5

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-01-12 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.85 - 1.86 --- Log message: Remove over-general comparisons --- Diffs of the changes: (+6 -4) SimplifyLibCalls.cpp | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2007-01-07 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.82 - 1.83 --- Log message: Types should be const. --- Diffs of the changes: (+2 -2) SimplifyLibCalls.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2006-12-20 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.78 - 1.79 --- Log message: Get rid of a useless if statement whose then and else blocks were identical. --- Diffs of the changes: (+1 -4) SimplifyLibCalls.cpp |5 + 1 files changed, 1 insertion(+), 4

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2006-12-13 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.75 - 1.76 --- Log message: Fix some casts. isdigit(c) returns 0 or 1, not 0 or -1 --- Diffs of the changes: (+3 -3) SimplifyLibCalls.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2006-10-26 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.70 - 1.71 --- Log message: For PR950: http://llvm.org/PR950 : Make necessary changes to support DIV - [SUF]Div. This changes llvm to have three division instructions: signed, unsigned, floating point. The bytecode

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2006-06-16 Thread Evan Cheng
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.65 - 1.66 --- Log message: More libcall transformations: printf(%s\n, str) - puts(str) printf(%c, c) - putchar(c) Also fixed fprintf(file, %c, c) - fputc(c, file) --- Diffs of the changes: (+110 -8)

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2006-06-16 Thread Evan Cheng
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.66 - 1.67 --- Log message: Add missing casts. This fixed some regressions. --- Diffs of the changes: (+2 -2) SimplifyLibCalls.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2006-06-15 Thread Evan Cheng
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.64 - 1.65 --- Log message: Simplify fprintf(file, %s, str) to fputs(str, file). --- Diffs of the changes: (+36 -16) SimplifyLibCalls.cpp | 52 +++ 1 files

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2006-03-02 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.62 - 1.63 --- Log message: Make this work with renamed intrinsics. --- Diffs of the changes: (+25 -26) SimplifyLibCalls.cpp | 51 +-- 1 files changed, 25

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2006-02-15 Thread Andrew Lenharth
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.61 - 1.62 --- Log message: fix a bunch of alpha regressions. see bug 709: http://llvm.cs.uiuc.edu/PR709 --- Diffs of the changes: (+6 -6) SimplifyLibCalls.cpp | 12 ++-- 1 files changed, 6

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2006-01-22 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.60 - 1.61 --- Log message: add a bunch more optimizations for unary double math functions --- Diffs of the changes: (+78 -18) SimplifyLibCalls.cpp | 96 +-- 1

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2006-01-19 Thread Reid Spencer
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.56 - 1.57 --- Log message: For PR696: http://llvm.cs.uiuc.edu/PR696 : Don't do floor-floorf conversion if floorf is not available. This checks the compiler's host, not its target, which is incorrect for

[llvm-commits] CVS: llvm/lib/Transforms/IPO/SimplifyLibCalls.cpp

2006-01-17 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: SimplifyLibCalls.cpp updated: 1.55 - 1.56 --- Log message: Clean up the FFS optimization code, and make it correctly create the appropriate unsigned llvm.cttz.* intrinsic, fixing the 2005-05-11-Popcount-ffs-fls regression last night. --- Diffs