- Nov 04, 2008
-
-
Bill Wendling authored
- Use enums instead of magic numbers. - Rework algorithm to use the bytes size from the target to determine when to emit stack protectors. - Get rid of "propolice" in any comments. - Renamed an option to its expanded form. - Other miscellanenous changes. More changes will come after this. llvm-svn: 58723
-
Dale Johannesen authored
llvm-svn: 58717
-
Duncan Sands authored
llvm-svn: 58709
-
Duncan Sands authored
SELECT_CC. llvm-svn: 58706
-
Nuno Lopes authored
llvm-svn: 58690
-
Oscar Fuentes authored
llvm-svn: 58676
-
Bill Wendling authored
* The prologue is modified to read the __stack_chk_guard global and insert it onto the stack. * The epilogue is modified to read the stored guard from the stack and compare it to the original __stack_chk_guard value. If they differ, then the __stack_chk_fail() function is called. * The stack protector needs to be first on the stack (after the parameters) to catch any stack-smashing activities. Front-end support will follow after a round of beta testing. llvm-svn: 58673
-
- Nov 03, 2008
-
-
Dale Johannesen authored
work correctly, and bring over a late change to ppcf128 SetCC handling. llvm-svn: 58642
-
Duncan Sands authored
sized integers like i129, and also reduce the number of assumptions made about how vaarg is implemented. This still doesn't work correctly for small integers like (eg) i1 on x86, since x86 passes each of them (essentially an i8) in a 4 byte stack slot, so the pointer needs to be advanced by 4 bytes not by 1 byte as now. But this is no longer a LegalizeTypes problem (it was also wrong in LT before): it is a bug in the operation expansion in LegalizeDAG: now LegalizeTypes turns an i1 vaarg into an i8 vaarg which would work fine if only the i8 vaarg was turned into correct code later. llvm-svn: 58635
-
Duncan Sands authored
10 bytes long, but is passed in 12/16 bytes). llvm-svn: 58608
-
Matthijs Kooijman authored
llvm-svn: 58606
-
Owen Anderson authored
llvm-svn: 58591
-
- Nov 02, 2008
-
-
Owen Anderson authored
exist before. Updating the live intervals in that care is tricky in the general case. Evan, if you see a tighter guard condition for this, let me know. llvm-svn: 58560
-
- Nov 01, 2008
-
-
Mon P Wang authored
target intrinsics that touches memory llvm-svn: 58548
-
- Oct 31, 2008
-
-
Anton Korobeynikov authored
Based on patch by Martin Nowack! llvm-svn: 58536
-
Dan Gohman authored
llvm-svn: 58524
-
Bill Wendling authored
llvm-svn: 58523
-
Evan Cheng authored
llvm-svn: 58514
-
Duncan Sands authored
completely forgotten about when writing LegalizeTypes. llvm-svn: 58508
-
Bill Wendling authored
callee-saved restore code. It could skip over conditional jumps accidentally. Instead, just skip the "return" instructions. llvm-svn: 58489
-
- Oct 30, 2008
-
-
Duncan Sands authored
type for the shift amount type. Add a check that shifts and rotates use the type returned by getShiftAmountTy for the amount. This exposed some problems in CellSPU and PPC, which have already been fixed. llvm-svn: 58455
-
Mon P Wang authored
llvm-svn: 58443
-
Mon P Wang authored
One will only see an effect if legalizetype is not active. Will move support to LegalizeType soon. llvm-svn: 58426
-
- Oct 29, 2008
-
-
Duncan Sands authored
llvm-svn: 58386
-
Duncan Sands authored
VAARG. llvm-svn: 58379
-
Duncan Sands authored
other day that PPC custom lowering could create a BUILD_PAIR of two f64 with a result type of... f64! - already fixed). Fix a place that triggers the sanity check. llvm-svn: 58378
-
Evan Cheng authored
- If a def is spilt, remember its spill index to allow its reuse. llvm-svn: 58375
-
Duncan Sands authored
is morphed by AnalyzeNewNode into a previously processed node, and different result values of that node are remapped to values with different nodes, then we could end up using wrong values here [we were assuming that all results remap to values with the same underlying node]. This seems theoretically possible, but I don't have a testcase. The meat of the patch is in the changes to AnalyzeNewNode/AnalyzeNewValue and ReplaceNodeWith. While there, I changed names like RemapNode to RemapValue, since it really remaps values. To tell the truth, I would be much happier if we were only remapping nodes (it would simplify a bunch of logic, and allow for some cute speedups) but I haven't yet worked out how to do that. llvm-svn: 58372
-
Duncan Sands authored
llvm-svn: 58371
-
Duncan Sands authored
llvm-svn: 58370
-
Evan Cheng authored
- Create and update spill slot live intervals. - Lots of bug fixes. llvm-svn: 58367
-
- Oct 28, 2008
-
-
Dan Gohman authored
EnableFastISelAbort variables for Release mode instead of using ifdefs in the code. llvm-svn: 58350
-
Dan Gohman authored
llvm-svn: 58340
-
Duncan Sands authored
ppcf128 to i32 conversion and expand it into a code sequence like in LegalizeDAG. This needs custom ppc lowering of FP_ROUND_INREG, so turn that on and make it work with LegalizeTypes. Probably PPC should simply custom lower the original conversion. llvm-svn: 58329
-
Duncan Sands authored
id could end up being wrong mostly because of forgetting to remap new nodes that morphed into processed nodes through CSE. llvm-svn: 58323
-
Chris Lattner authored
llvm-svn: 58320
-
Chris Lattner authored
llvm-svn: 58319
-
Evan Cheng authored
llvm-svn: 58314
-
Evan Cheng authored
llvm-svn: 58312
-
Evan Cheng authored
Avoid putting a split past the end of the live range; always shrink wrap live interval in the barrier mbb. llvm-svn: 58309
-