aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add new llvm.stacksave/llvm.stackrestore intrinsicsChris Lattner2006-01-131-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25265 91177308-0d34-0410-b5e6-96231b3b80d8
* Add llvm.stacksave and llvm.stackrestore.Chris Lattner2006-01-131-0/+68
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25264 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor update.Evan Cheng2006-01-131-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25263 91177308-0d34-0410-b5e6-96231b3b80d8
* void* is not legal in LLVM.Chris Lattner2006-01-131-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25262 91177308-0d34-0410-b5e6-96231b3b80d8
* More typo's. I need new eye glasses...Evan Cheng2006-01-131-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25261 91177308-0d34-0410-b5e6-96231b3b80d8
* Oops. Typo.Evan Cheng2006-01-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25260 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a SETCC / BRCOND folding bug.Evan Cheng2006-01-131-12/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25259 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for a SETCC / BRCOND folding bug.Evan Cheng2006-01-131-0/+39
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25258 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix sint_to_fp (fild*) support.Evan Cheng2006-01-125-42/+61
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25257 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a simple missing fold to produce this:Chris Lattner2006-01-121-0/+8
| | | | | | | | | | | | subfic r3, r2, 33 instead of this: subfic r2, r2, 32 addi r3, r2, 1 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25255 91177308-0d34-0410-b5e6-96231b3b80d8
* Specify transformation from GlobalAddress to TargetGlobalAddress andEvan Cheng2006-01-121-2/+2
| | | | | | | ExternalSymbol to TargetExternalSymbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25253 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow transformation from GlobalAddress to TargetGlobalAddress andEvan Cheng2006-01-121-13/+24
| | | | | | | ExternalSymbol to TargetExternalSymbol. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25252 91177308-0d34-0410-b5e6-96231b3b80d8
* If using __main, emit global ctor/dtor list like any other globalChris Lattner2006-01-121-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25251 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't create rotate instructions in unsupported types, because we don't haveChris Lattner2006-01-121-2/+2
| | | | | | | promote/expand code yet. This fixes the 177.mesa failure on PPC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25250 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix branches on FP comparesChris Lattner2006-01-124-42/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25249 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch #10 from Saem:Chris Lattner2006-01-121-52/+32
| | | | | | | | "Extracts a few more methods, reduces some redundancy in the code at the same time." git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25248 91177308-0d34-0410-b5e6-96231b3b80d8
* X86ISD::SETCC (e.g. SETEr) produces a flag (so multiple SETCC can beEvan Cheng2006-01-122-3/+4
| | | | | | | linked together). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25247 91177308-0d34-0410-b5e6-96231b3b80d8
* * Materialize GlobalAddress and ExternalSym with MOV32ri rather thanEvan Cheng2006-01-122-8/+10
| | | | | | | | LEA32r. * Do not lower GlobalAddress to TargetGlobalAddress. Let isel does it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25246 91177308-0d34-0410-b5e6-96231b3b80d8
* GlobalAddress -> TargetGlobalAddress; ExternalSymbol -> TargetExternalSymbolEvan Cheng2006-01-121-2/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25245 91177308-0d34-0410-b5e6-96231b3b80d8
* fix a bug in my previous checkinChris Lattner2006-01-122-4/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25244 91177308-0d34-0410-b5e6-96231b3b80d8
* Give V8ISD nodes symbolic names in dumpsChris Lattner2006-01-122-0/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25243 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert the verifier over to use ETForest instead of DominatorSet. PatchChris Lattner2006-01-121-14/+14
| | | | | | | by Daniel Berlin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25242 91177308-0d34-0410-b5e6-96231b3b80d8
* sabre's (correct) fix means these guys need to be flagged as well (elseDuraid Madina2006-01-121-2/+7
| | | | | | | the scheduler will complain) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25241 91177308-0d34-0410-b5e6-96231b3b80d8
* verily, sabre did leaveDuraid Madina2006-01-121-2/+2
| | | | | | | | | and yea! Saem said "ARRR." meanwhile, the pinksias and the campfires and the ET forests glowed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25240 91177308-0d34-0410-b5e6-96231b3b80d8
* ahem :)Chris Lattner2006-01-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25239 91177308-0d34-0410-b5e6-96231b3b80d8
* these cases are autogeneratedChris Lattner2006-01-121-28/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25238 91177308-0d34-0410-b5e6-96231b3b80d8
* remove dead codeChris Lattner2006-01-121-25/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25237 91177308-0d34-0410-b5e6-96231b3b80d8
* Goodbye PPC pattern isel. You have served us well, but it is now time forChris Lattner2006-01-123-1725/+2
| | | | | | | you to ride off into the sunset. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25236 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an itanium call lowering bug for duraidChris Lattner2006-01-121-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25235 91177308-0d34-0410-b5e6-96231b3b80d8
* invert the sense of this switch and its nameChris Lattner2006-01-122-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25234 91177308-0d34-0410-b5e6-96231b3b80d8
* Missed a spot.Nate Begeman2006-01-111-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25233 91177308-0d34-0410-b5e6-96231b3b80d8
* Added ROTL and ROTR.Evan Cheng2006-01-112-30/+64
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25232 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an off-by-one error that Nate's eagle eyes caughtChris Lattner2006-01-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25231 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the auto-insert BuildMI constructor to avoid an explicit insert. NoChris Lattner2006-01-111-28/+20
| | | | | | | functionality change, just code cleanup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25230 91177308-0d34-0410-b5e6-96231b3b80d8
* If a function has a non-zero sized frame, use an add to adjust the stackChris Lattner2006-01-111-9/+20
| | | | | | | pointer in the epilog, not a load. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25229 91177308-0d34-0410-b5e6-96231b3b80d8
* Add testcase for rotate by register and rotate by immediateNate Begeman2006-01-111-0/+51
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25228 91177308-0d34-0410-b5e6-96231b3b80d8
* Some minor fixes.Evan Cheng2006-01-111-26/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25227 91177308-0d34-0410-b5e6-96231b3b80d8
* Support for MEMCPY and MEMSET.Evan Cheng2006-01-114-10/+137
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25226 91177308-0d34-0410-b5e6-96231b3b80d8
* Select DYNAMIC_STACKALLOCEvan Cheng2006-01-111-1/+44
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25225 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow custom lowering of DYNAMIC_STACKALLOC.Evan Cheng2006-01-111-7/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25224 91177308-0d34-0410-b5e6-96231b3b80d8
* ignore register #0Evan Cheng2006-01-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25223 91177308-0d34-0410-b5e6-96231b3b80d8
* Add bswap, rotl, and rotr nodesNate Begeman2006-01-1112-7/+95
| | | | | | | | | | Add dag combiner code to recognize rotl, rotr Add ppc code to match rotl Targets should add rotl/rotr patterns if they have them git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25222 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix calls that need to store values in stack slots, to not copy the stackChris Lattner2006-01-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pointer. This allows us to emit stuff like this: li r10, 0 stw r10, 56(r1) or r3, r10, r10 or r4, r10, r10 or r5, r10, r10 or r6, r10, r10 or r7, r10, r10 or r8, r10, r10 or r9, r10, r10 bl L_bar$stub instead of this: or r2, r1, r1 ;; Extraneous copy. li r10, 0 stw r10, 56(r2) or r3, r10, r10 or r4, r10, r10 or r5, r10, r10 or r6, r10, r10 or r7, r10, r10 or r8, r10, r10 or r9, r10, r10 bl L_bar$stub wowness. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25221 91177308-0d34-0410-b5e6-96231b3b80d8
* tblgen does this nowChris Lattner2006-01-111-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25220 91177308-0d34-0410-b5e6-96231b3b80d8
* This is no longer neededChris Lattner2006-01-112-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25219 91177308-0d34-0410-b5e6-96231b3b80d8
* Always select target registers to themselvesChris Lattner2006-01-111-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25218 91177308-0d34-0410-b5e6-96231b3b80d8
* Dead FP arguments still use an incoming FP reg. This fixesChris Lattner2006-01-111-1/+7
| | | | | | | | Regression/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll, which was distilled from a miscompilation in 252.eon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25217 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase the PPC backend is miscompiling.Chris Lattner2006-01-111-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25216 91177308-0d34-0410-b5e6-96231b3b80d8
* Visual Studio is feeling left out again.Jeff Cohen2006-01-111-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25215 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix VC++ compilation error.Jeff Cohen2006-01-111-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25214 91177308-0d34-0410-b5e6-96231b3b80d8