- Sep 13, 2005
-
-
Chris Lattner authored
into particular vregs, emit copies into the entry MBB. llvm-svn: 23331
-
- Sep 10, 2005
-
-
Chris Lattner authored
when storing to an 8-bit memory location), as most don't. llvm-svn: 23303
-
Chris Lattner authored
llvm-svn: 23302
-
Chris Lattner authored
select (x < y), 1, 0 -> (x < y) incorrectly: the setcc returns i1 but the select returned i32. Add the zero extend as needed. llvm-svn: 23301
-
Chris Lattner authored
llvm-svn: 23300
-
- Sep 09, 2005
-
-
Nate Begeman authored
as setcc and select next. llvm-svn: 23295
-
- Sep 08, 2005
-
-
Nate Begeman authored
llvm-svn: 23278
-
Nate Begeman authored
as well as fixing how we replace old values with new values. llvm-svn: 23260
-
- Sep 07, 2005
-
-
Nate Begeman authored
This restores all of stanford to being identical with and without the dag combiner with the add folding turned off in sd.cpp. llvm-svn: 23258
-
Chris Lattner authored
we were losing a node, causing an assertion to fail. Now we eagerly delete discovered CSE's, and provide an optional vector to keep track of these discovered equivalences. llvm-svn: 23255
-
Nate Begeman authored
that option for PowerPC's beta. llvm-svn: 23253
-
- Sep 06, 2005
-
-
Nate Begeman authored
I have run so far when run before Legalize. It still needs to pick up the SetCC folds, and nodes that use SetCC. llvm-svn: 23243
-
- Sep 03, 2005
-
-
Chris Lattner authored
llvm-svn: 23235
-
- Sep 02, 2005
-
-
Nate Begeman authored
values, and then we should be able to hook it up. llvm-svn: 23231
-
Chris Lattner authored
llvm-svn: 23229
-
Chris Lattner authored
i64 values on targets that need that expanded to 32-bit registers. This fixes PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll and speeds up 189.lucas from taking 122.72s to 81.96s on my desktop. llvm-svn: 23228
-
Chris Lattner authored
llvm-svn: 23224
-
Chris Lattner authored
from the binary ops map, even if they had multiple results. This latent bug caused a few failures with the dag isel last night. To prevent stuff like this from happening in the future, add some really strict checking to make sure that the CSE maps always match up with reality! llvm-svn: 23221
-
Chris Lattner authored
number of elements. llvm-svn: 23219
-
Chris Lattner authored
llvm-svn: 23215
-
Chris Lattner authored
llvm-svn: 23208
-
Chris Lattner authored
instead of ZERO_EXTEND to eliminate extraneous extensions. This eliminates dead zero extensions on formal arguments and other cases on PPC, implementing the newly tightened up test/Regression/CodeGen/PowerPC/small-arguments.ll test. llvm-svn: 23205
-
Chris Lattner authored
llvm-svn: 23204
-
Chris Lattner authored
llvm-svn: 23203
-
Nate Begeman authored
over to DAGCombiner.cpp 1. Don't assume that SetCC returns i1 when folding (xor (setcc) constant) 2. Don't duplicate code in folding AND with AssertZext that is handled by MaskedValueIsZero llvm-svn: 23196
-
Nate Begeman authored
left to do). llvm-svn: 23195
-
- Sep 01, 2005
-
-
Chris Lattner authored
llvm-svn: 23186
-
Nate Begeman authored
statement in visit(). llvm-svn: 23185
-
Nate Begeman authored
be mostly functional. It currently has all folds from SelectionDAG.cpp that do not involve a condition code. llvm-svn: 23184
-
- Aug 31, 2005
-
-
Chris Lattner authored
llvm-svn: 23173
-
Jeff Cohen authored
llvm-svn: 23169
-
Nate Begeman authored
llvm-svn: 23166
-
Nate Begeman authored
case in MaskedValueIsZero was wrong. llvm-svn: 23165
-
Nate Begeman authored
MaskedValueIsZero. llvm-svn: 23164
-
Chris Lattner authored
Allow physregs to occur in the dag with multiple types. Though I don't likethis, it is a requirement on PPC, which can have an f32 value in r3 at onepoint in a function and a f64 value in r3 at another point. :( This fixes compilation of mesa llvm-svn: 23161
-
- Aug 30, 2005
-
-
Chris Lattner authored
to SHIFT_PARTS nodes llvm-svn: 23151
-
Chris Lattner authored
at least tends to expose problems elsewhere. llvm-svn: 23149
-
Nate Begeman authored
llvm-svn: 23148
-
Nate Begeman authored
them. This allows for elminination of redundant extends in the entry blocks of functions on PowerPC. Add support for i32 x i32 -> i64 multiplies, by recognizing when the inputs to ISD::MUL in ExpandOp are actually just extended i32 values and not real i64 values. this allows us to codegen int mulhs(int a, int b) { return ((long long)a * b) >> 32; } as: _mulhs: mulhw r3, r4, r3 blr instead of: _mulhs: mulhwu r2, r4, r3 srawi r5, r3, 31 mullw r5, r4, r5 add r2, r2, r5 srawi r4, r4, 31 mullw r3, r4, r3 add r3, r2, r3 blr with a similar improvement on x86. llvm-svn: 23147
-
Chris Lattner authored
llvm-svn: 23145
-