Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.137 - 1.138
---
Log message:
Fix Transforms/ConstProp/2007-02-23-sdiv.ll and PR1215: http://llvm.org/PR1215
---
Diffs of the changes: (+2 -1)
ConstantFolding.cpp |3 ++-
1 files changed, 2 insertions(+), 1
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.136 - 1.137
Constants.cpp updated: 1.210 - 1.211
Instructions.cpp updated: 1.76 - 1.77
Type.cpp updated: 1.173 - 1.174
Verifier.cpp updated: 1.196 - 1.197
---
Log message:
For PR1195: http://llvm.org/PR1195 :
Change use of
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.133 - 1.134
ConstantFolding.h updated: 1.52 - 1.53
Constants.cpp updated: 1.205 - 1.206
Instructions.cpp updated: 1.66 - 1.67
---
Log message:
Revise APIs for creating constantexpr GEPs to not require the use of vectors.
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.132 - 1.133
Constants.cpp updated: 1.201 - 1.202
Type.cpp updated: 1.163 - 1.164
ValueTypes.cpp updated: 1.10 - 1.11
---
Log message:
For PR1043: http://llvm.org/PR1043 :
This is the final patch for this PR. It implements
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.130 - 1.131
---
Log message:
Remove a bunch of duplicated code. Among other things, this fixes
constant folding of signed comparisons of bool.
---
Diffs of the changes: (+50 -93)
ConstantFolding.cpp | 143
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.125 - 1.126
---
Log message:
Implement better constant folding of unordered FCMP predicates.
---
Diffs of the changes: (+27 -7)
ConstantFolding.cpp | 34 +++---
1 files changed, 27
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.123 - 1.124
---
Log message:
fix some bugs handling vectors, avoid host-specific handling of undefined shift
results.
---
Diffs of the changes: (+15 -5)
ConstantFolding.cpp | 20 +++-
1 files changed,
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.124 - 1.125
---
Log message:
fix typo
---
Diffs of the changes: (+1 -1)
ConstantFolding.cpp |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/VMCore/ConstantFolding.cpp
diff -u
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.122 - 1.123
---
Log message:
Fix a bug in comparison of GEP indices.
---
Diffs of the changes: (+4 -4)
ConstantFolding.cpp |8
1 files changed, 4 insertions(+), 4 deletions(-)
Index:
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.121 - 1.122
Constants.cpp updated: 1.192 - 1.193
Function.cpp updated: 1.107 - 1.108
Instructions.cpp updated: 1.57 - 1.58
Module.cpp updated: 1.69 - 1.70
ValueTypes.cpp updated: 1.8 - 1.9
Verifier.cpp updated: 1.179 - 1.180
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.120 - 1.121
ConstantFolding.h updated: 1.51 - 1.52
---
Log message:
Cleanup ConstantFoldCompareInstruction:
1. Make the arguments const like the other ConstantFold* functions.
2. Clean up evaluateFCmpRelation so it makes
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.119 - 1.120
---
Log message:
Don't overload var names.
---
Diffs of the changes: (+4 -4)
ConstantFolding.cpp |8
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/lib/VMCore/ConstantFolding.cpp
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.116 - 1.117
---
Log message:
Rewrite ConstantFoldCastInstruction so that it doesn't use any of the
ConstRules. Remove the casting rules from ConstRules and subclasses. This
cleans up ConstantFolding significantly. Passes all
On Dec 18, 2006, at 7:16 PM, Reid Spencer wrote:
Rewrite ConstantFoldCastInstruction so that it doesn't use any of the
ConstRules. Remove the casting rules from ConstRules and
subclasses. This
cleans up ConstantFolding significantly. Passes all tests.
Nice!
case Instruction::UIToFP: {
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.117 - 1.118
---
Log message:
Clean up ConstantFoldCastInstruction.
---
Diffs of the changes: (+30 -53)
ConstantFolding.cpp | 83 ++--
1 files changed, 30 insertions(+),
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.114 - 1.115
---
Log message:
Remove the last use of getUnsignedVersion and getSignedVersion from VMCore.
ConstantInt doesn't care about the sign of the type it represents. It only
cares about the bitwidth so there is no need
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.115 - 1.116
---
Log message:
Revert last patch. ConstantInt isn't quite ready for signlessness.
---
Diffs of the changes: (+4 -2)
ConstantFolding.cpp |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.113 - 1.114
Constants.cpp updated: 1.186 - 1.187
---
Log message:
Replace inferred getCast(V,Ty) calls with more strict variants.
Rename getZeroExtend and getSignExtend to getZExt and getSExt to match
the the casting
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.111 - 1.112
---
Log message:
Implement correct constant folding of bitcast. This implements
Transforms/ConstProp/bitcast.ll and fixes
SingleSource/Regression/C/2003-10-12-GlobalVarInitializers
---
Diffs of the changes:
Thanks Reid!
-Chris
On Dec 11, 2006, at 1:27 PM, Reid Spencer wrote:
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.112 - 1.113
---
Log message:
Fix constant folding of FP-int due to cut paste error in last
commit.
---
Diffs of the changes: (+3 -2)
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.112 - 1.113
---
Log message:
Fix constant folding of FP-int due to cut paste error in last commit.
---
Diffs of the changes: (+3 -2)
ConstantFolding.cpp |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
--- llvm/lib/VMCore/ConstantFolding.cpp:1.105 Fri Dec 1 13:50:54 2006
+++ llvm/lib/VMCore/ConstantFolding.cpp Sun Dec 3 20:45:43 2006
@@ -777,7 +777,8 @@
uint64_t V =
DoubleToBits(castConstantFP(CP-getOperand(i))-
getValue());
Constant *C =
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.107 - 1.108
---
Log message:
Remove the last inferred casts from VMCore.
---
Diffs of the changes: (+7 -10)
ConstantFolding.cpp | 17 +++--
1 files changed, 7 insertions(+), 10 deletions(-)
Index:
Index: llvm/lib/VMCore/ConstantFolding.cpp
diff -u llvm/lib/VMCore/ConstantFolding.cpp:1.107 llvm/lib/VMCore/
ConstantFolding.cpp:1.108
--- llvm/lib/VMCore/ConstantFolding.cpp:1.107 Sun Dec 3 23:19:34 2006
+++ llvm/lib/VMCore/ConstantFolding.cpp Mon Dec 4 21:30:09 2006
@@ -777,8
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.108 - 1.109
---
Log message:
Can't make these fail now with just BitCast. Previous failures must have
been in conjunction with something else. By right, they should just be
BitCasts.
---
Diffs of the changes: (+2 -2)
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.105 - 1.106
---
Log message:
Change inferred casts to explicit casts.
---
Diffs of the changes: (+23 -12)
ConstantFolding.cpp | 35 +++
1 files changed, 23 insertions(+), 12 deletions(-)
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.103 - 1.104
---
Log message:
this logic is broken for trunc to bool, replace the folding logic for trunc
completely, as it is trivial. We should probably do this for the rest of the
cast operations. This fixes
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.104 - 1.105
---
Log message:
These should be rewritten to fold without using the 'Rules' mechanism, but
until this happens at least make sext from bool and sitofp from bool do the
right thing.
---
Diffs of the changes: (+3
Reid,
On Nov 30, 2006, at 4:25 PM, Anton Korobeynikov wrote:
Introducing external weak linkage. Darwin codegen should be added
later.
Index: llvm/lib/VMCore/ConstantFolding.cpp
diff -u llvm/lib/VMCore/ConstantFolding.cpp:1.100 llvm/lib/VMCore/
ConstantFolding.cpp:1.101
---
On Thu, 2006-11-30 at 17:33 -0800, Chris Lattner wrote:
Reid,
On Nov 30, 2006, at 4:25 PM, Anton Korobeynikov wrote:
Introducing external weak linkage. Darwin codegen should be added
later.
Index: llvm/lib/VMCore/ConstantFolding.cpp
diff -u llvm/lib/VMCore/ConstantFolding.cpp:1.100
and code should be added to
ConstantFolding.cpp in the setne(GV, null)/seteq(GV, null) codepath
to handle this.
Which code path? You mean you generally want a setne(GV, null) to be
folded to ConstBool::True and seteq(GV, null) to be folded to
ConstBool::False ?
Yep exactly. Unless the
On Nov 30, 2006, at 9:01 PM, Reid Spencer wrote:
On Thu, 2006-11-30 at 20:51 -0800, Chris Lattner wrote:
On Nov 30, 2006, at 7:56 PM, Reid Spencer wrote:
case Instruction::PtrToInt:
-// Cast of a global address to boolean is always true.
-if (const GlobalValue *GV =
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.96 - 1.97
---
Log message:
Remove unused variables.
---
Diffs of the changes: (+5 -6)
ConstantFolding.cpp | 11 +--
1 files changed, 5 insertions(+), 6 deletions(-)
Index: llvm/lib/VMCore/ConstantFolding.cpp
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.95 - 1.96
Constants.cpp updated: 1.168 - 1.169
Instruction.cpp updated: 1.55 - 1.56
Instructions.cpp updated: 1.44 - 1.45
---
Log message:
For PR950: http://llvm.org/PR950 :
Replace the REM instruction with UREM, SREM and
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.94 - 1.95
Constants.cpp updated: 1.165 - 1.166
Instruction.cpp updated: 1.53 - 1.54
Instructions.cpp updated: 1.43 - 1.44
---
Log message:
For PR950: http://llvm.org/PR950 :
Make necessary changes to support DIV - [SUF]Div.
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.92 - 1.93
---
Log message:
Fix another dtor issue. The function local statics in this function were
being destroyed at inconvenient times. Switch to using non-local ManagedStatic
objects, which actually also speeds up
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.91 - 1.92
---
Log message:
Eliminate ConstantBool::True and ConstantBool::False. Instead,
provideConstantBool::getTrue() and ConstantBool::getFalse().
---
Diffs of the changes: (+15 -17)
ConstantFolding.cpp | 32
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.90 - 1.91
Constants.cpp updated: 1.159 - 1.160
Instruction.cpp updated: 1.52 - 1.53
---
Log message:
Add new SetCondInst::isRelational/isEquality methods. Rename
Instruction::isRelational to Instruction::isComparison.
---
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.88 - 1.89
Constants.cpp updated: 1.154 - 1.155
Type.cpp updated: 1.140 - 1.141
Verifier.cpp updated: 1.156 - 1.157
---
Log message:
Use hidden visibility to reduce the sizes of some .o files. This chops 60K off
a release
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.87 - 1.88
---
Log message:
Add more anonymous namespaces to make it clear that these are private classes
---
Diffs of the changes: (+18 -1)
ConstantFolding.cpp | 19 ++-
1 files changed, 18
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.85 - 1.86
---
Log message:
Constant fold extractelement(zero, x) - zero
---
Diffs of the changes: (+3 -0)
ConstantFolding.cpp |3 +++
1 files changed, 3 insertions(+)
Index: llvm/lib/VMCore/ConstantFolding.cpp
diff
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.83 - 1.84
---
Log message:
constant fold extractelement with undef operands.
---
Diffs of the changes: (+7 -1)
ConstantFolding.cpp |8 +++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index:
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.82 - 1.83
ConstantFolding.h updated: 1.46 - 1.47
Constants.cpp updated: 1.144 - 1.145
Instruction.cpp updated: 1.49 - 1.50
Instructions.cpp updated: 1.30 - 1.31
Verifier.cpp updated: 1.143 - 1.144
---
Log message:
VMCore
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.81 - 1.82
ConstantFolding.h updated: 1.45 - 1.46
Constants.cpp updated: 1.143 - 1.144
---
Log message:
Added constant folding support for the extractelement operation.
---
Diffs of the changes: (+14 -0)
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.79 - 1.80
---
Log message:
fix some formatting problems
---
Diffs of the changes: (+7 -7)
ConstantFolding.cpp | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
Index:
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.80 - 1.81
---
Log message:
Implement a few symbolic constant folding things. X ? Y : Y is Y.
Fold:
seteq ({ short }* cast (int 1 to { short }*), { short }* null)
setlt ({ short }* cast (int 1 to { short }*), { short }* cast
Changes in directory llvm/lib/VMCore:
ConstantFolding.cpp updated: 1.78 - 1.79
---
Log message:
implement constant folding of ==/!= on constant packed, simplify some code.
---
Diffs of the changes: (+11 -3)
ConstantFolding.cpp | 14 +++---
1 files changed, 11 insertions(+), 3
47 matches
Mail list logo