- Sep 30, 2005
-
-
Chris Lattner authored
code. PrologEpilogInserter hasn't been updated yet though, so targets cannot use this info. llvm-svn: 23536
-
- Sep 29, 2005
-
-
Chris Lattner authored
llvm-svn: 23522
-
Jeff Cohen authored
llvm-svn: 23516
-
Chris Lattner authored
Though I have done extensive testing, it is possible that this will break things in configs I can't test. Please let me know if this causes a problem and I'll fix it ASAP. llvm-svn: 23504
-
- Sep 28, 2005
-
-
Chris Lattner authored
If the target prefers it, use _setjmp/_longjmp should be used instead of setjmp/longjmp for llvm.setjmp/llvm.longjmp. llvm-svn: 23481
-
- Sep 27, 2005
-
-
Jim Laskey authored
llvm-svn: 23469
-
- Sep 26, 2005
-
-
Jim Laskey authored
for testing and will require target machine info to do a proper scheduling. The simple scheduler can be turned on using -sched=simple (defaults to -sched=none) llvm-svn: 23455
-
- Sep 23, 2005
-
-
Chris Lattner authored
This happens all the time on PPC for bool values, e.g. eliminating a xori in inverted-bool-compares.ll. This should be added to the dag combiner as well. llvm-svn: 23403
-
- Sep 21, 2005
-
-
Chris Lattner authored
llvm-svn: 23400
-
- Sep 20, 2005
-
-
Nate Begeman authored
select_cc bits and then wrap it in a convenience function for use with regular select. llvm-svn: 23389
-
- Sep 19, 2005
-
-
Chris Lattner authored
when possible, avoiding the load (and avoiding the copy if the value is already in the right register). This patch came about when I noticed code like the following being generated: store R17 -> [SS1] ...blah... R4 = load [SS1] This was causing an LSU reject on the G5. This problem was due to the register allocator folding spill code into a reg-reg copy (producing the load), which prevented the spiller from being able to rewrite the load into a copy, despite the fact that the value was already available in a register. In the case above, we now rip out the R4 load and replace it with a R4 = R17 copy. This speeds up several programs on X86 (which spills a lot :) ), e.g. smg2k from 22.39->20.60s, povray from 12.93->12.66s, 168.wupwise from 68.54->53.83s (!), 197.parser from 7.33->6.62s (!), etc. This may have a larger impact in some cases on the G5 (by avoiding LSU rejects), though it probably won't trigger as often (less spilling in general). Targets that implement folding of loads/stores into copies should implement the isLoadFromStackSlot hook to get this. llvm-svn: 23388
-
- Sep 16, 2005
-
-
Nate Begeman authored
llvm-svn: 23371
-
- 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
-
-
Chris Lattner authored
are, simplify logic, and cause things to not be nested as deeply. This also uses MRI->areAliases instead of an explicit loop. No functionality change, just code cleanup. llvm-svn: 23296
-
Nate Begeman authored
as setcc and select next. llvm-svn: 23295
-
Chris Lattner authored
llvm-svn: 23294
-
Chris Lattner authored
only add a reload live range once for the instruction. This is one step towards fixing a regalloc pessimization that Nate notice, but is later undone by the spiller (so no code is changed). llvm-svn: 23293
-
- 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
-
-
Chris Lattner authored
preserve livevar llvm-svn: 23259
-
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
llvm-svn: 23206
-
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
-