- Jul 16, 2008
-
-
Dan Gohman authored
llvm-svn: 53680
-
Duncan Sands authored
of all sizes from i1 to i256. The code is not always that great, for example (x86) movw %di, %ax movw %ax, i17_s where the store could be directly from %di. llvm-svn: 53677
-
Duncan Sands authored
sizes from i1 to i256. The generated code is like one huge bug report of things that the DAG combiner fails to simplify! llvm-svn: 53676
-
Matthijs Kooijman authored
llvm-svn: 53675
-
Matthijs Kooijman authored
Un-XFAIL multdeadretval, since instcombine now properly handles the mess deadargelim leaves behind :-) llvm-svn: 53674
-
Matthijs Kooijman authored
FindInsertedValue, it now performs a number of simple transformations that should result in the same effect when applied iteratively. llvm-svn: 53673
-
Duncan Sands authored
While this is not a wonderful organizing principle, it does make it easy to find routines, and clear where to insert new ones. llvm-svn: 53672
-
Duncan Sands authored
llvm-svn: 53671
-
Matthijs Kooijman authored
also use *idx_begin in the same expression, giving unpredictable results. This fixes this bug: http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-July/015877.html llvm-svn: 53670
-
Duncan Sands authored
simply does the atomic.cmp.swap on the larger type, which means it blows away whatever is sitting in the bytes just after the memory location, i.e. causes a buffer overflow. This really requires target specific code, which is why LegalizeTypes doesn't try to handle this case generically. The existing (wrong) code in LegalizeDAG will go away automatically once the type legalization code is removed from LegalizeDAG so I'm leaving it there for the moment. Meanwhile, don't test for this feature. llvm-svn: 53669
-
Evan Cheng authored
llvm-svn: 53666
-
Evan Cheng authored
llvm-svn: 53661
-
Evan Cheng authored
llvm-svn: 53660
-
- Jul 15, 2008
-
-
Dan Gohman authored
llvm-svn: 53639
-
Dan Gohman authored
llvm-svn: 53636
-
Dan Gohman authored
just use the AllNodes order, which is at least relatively stable across runs. llvm-svn: 53632
-
Owen Anderson authored
llvm-svn: 53627
-
Owen Anderson authored
llvm-svn: 53616
-
Owen Anderson authored
Have GVN do a pre-pass over the CFG that folds away unconditional branches where possible. This allows local PRE to be more aggressive. llvm-svn: 53615
-
Matthijs Kooijman authored
llvm-svn: 53614
-
Duncan Sands authored
llvm-svn: 53613
-
Matthijs Kooijman authored
allowed to canonicalize return values). Add a test that checks if return value and function attributes are not removed. llvm-svn: 53612
-
Matthijs Kooijman authored
llvm-svn: 53611
-
Matthijs Kooijman authored
again canonicalizes {i32} into i32 and {} into void. llvm-svn: 53610
-
Matthijs Kooijman authored
return value as a whole in deadargelim is really not needed now that we simply rebuild the old return value and actually prevents some canonicalization from taking place. This revert stops deadargelim from changing {i32} into i32 for now, but I'll fix that next. llvm-svn: 53609
-
Matthijs Kooijman authored
return values that are still (partially) live. Instead of updating all uses of a call instruction after removing some elements, it now just rebuilds the original struct (With undef gaps where the unused values were) and leaves it to instcombine to clean this up. The added testcase still fails currently, but this is due to instcombine which isn't good enough yet. I will fix that part next. llvm-svn: 53608
-
Matthijs Kooijman authored
llvm-svn: 53607
-
Matthijs Kooijman authored
only the liveness of partial return values (for functions returning a struct). This is more explicit to prevent unwanted changes in the return value. In particular, deadargelim now canonicalizes a function returning {i32} to returning i32 and {} to void, if the struct returned is not used in its entirety, but only the single element is used. llvm-svn: 53606
-
Matthijs Kooijman authored
llvm-svn: 53605
-
Duncan Sands authored
In LegalizeDAG the value is zero-extended to the new type before byte swapping. It doesn't matter how the extension is done since the new bits are shifted off anyway after the swap, so extend by any old rubbish bits. This results in the final assembler for the testcase being one line shorter. llvm-svn: 53604
-
Duncan Sands authored
llvm-svn: 53603
-
Duncan Sands authored
No change in functionality. llvm-svn: 53602
-
Matthijs Kooijman authored
and return values live for those functions. This doesn't change anything yet, but prepares for the coming commits. llvm-svn: 53601
-
Matthijs Kooijman authored
llvm-svn: 53600
-
Matthijs Kooijman authored
RetOrArg::getDescription() as const. llvm-svn: 53599
-
Matthijs Kooijman authored
llvm-svn: 53598
-
Matthijs Kooijman authored
llvm-svn: 53592
-
Matthijs Kooijman authored
method, to slightly simplify control flow. llvm-svn: 53591
-
Mon P Wang authored
llvm-svn: 53590
-
Nick Lewycky authored
I swear that didn't show up in svn diff... llvm-svn: 53587
-