aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
* Fix FP_TO_INT**_IN_MEM lowering.Evan Cheng2006-01-163-104/+133
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25368 91177308-0d34-0410-b5e6-96231b3b80d8
* Friendly namesAndrew Lenharth2006-01-162-1/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25364 91177308-0d34-0410-b5e6-96231b3b80d8
* add notes from my *other* email acct.Chris Lattner2006-01-161-0/+88
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25362 91177308-0d34-0410-b5e6-96231b3b80d8
* transfer some notes from my email to somewhere useful.Chris Lattner2006-01-162-0/+71
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25361 91177308-0d34-0410-b5e6-96231b3b80d8
* fixing divides: FP should now be 100%, and integers are fine tooDuraid Madina2006-01-161-17/+24
| | | | | | | | unless you try to div/mod 0 by anything, in which case you will get some cute number, and not 0, which is bad. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25358 91177308-0d34-0410-b5e6-96231b3b80d8
* fix division! again!! pattern isel, prepare to die.Duraid Madina2006-01-162-101/+118
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25353 91177308-0d34-0410-b5e6-96231b3b80d8
* Silly Sparc is big endian. If we have to load args out of incoming stack slotsChris Lattner2006-01-162-0/+8
| | | | | | | | that are smaller than an int, make sure to adjust the frame pointer to take this into consideration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25351 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that bool,byte and short arguments are the right type when loadedChris Lattner2006-01-152-0/+2
| | | | | | | from memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25346 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable a broken optimizationChris Lattner2006-01-152-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25340 91177308-0d34-0410-b5e6-96231b3b80d8
* Added patterns for 8-bit multiplyEvan Cheng2006-01-151-2/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25338 91177308-0d34-0410-b5e6-96231b3b80d8
* explain that r12 is the stack pointer regDuraid Madina2006-01-152-33/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25336 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't print a label for the first MBB in a function.Chris Lattner2006-01-154-10/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compile this: %_2E_str_8 = external global [75 x sbyte] implementation ; Functions: declare int %printf(sbyte*, ...) void %test() %tmp.101 = call int (sbyte*, ...)* %printf( sbyte* getelementptr ([75 x sbyte]* %_2E_str_8, int 0, int 0) ) ; <int> [#uses=0] unreachable } to this: main_endif_2E_8: save -96, %o6, %o6 sethi %hi(_2E_str_8), %l0 add %l0, %lo(_2E_str_8), %o0 call printf nop instead of this: main_endif_2E_8: save -96, %o6, %o6 sethi %hi(_2E_str_8), %l0 or %g0, %lo(_2E_str_8), %l1 ;; extra instruction add %l1, %l0, %o0 call printf nop git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25335 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the default impl of DYNAMIC_STACKALLOC, allowing us to delete some code.Chris Lattner2006-01-152-41/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25334 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the default lowering of ISD::DYNAMIC_STACKALLOC, delete now dead code.Chris Lattner2006-01-153-84/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25333 91177308-0d34-0410-b5e6-96231b3b80d8
* Have legalize take care of DYNAMIC_STACKALLOC for us, implement ↵Chris Lattner2006-01-152-36/+8
| | | | | | llvm.stacksave/stackrestore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25332 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement DYNAMIC_STACKALLOC for V8Chris Lattner2006-01-152-2/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25330 91177308-0d34-0410-b5e6-96231b3b80d8
* reorder passesChris Lattner2006-01-152-8/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25326 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup IA64ISD, tell the graph drawer what the symbolic names for the enums ↵Chris Lattner2006-01-142-14/+11
| | | | | | are. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25324 91177308-0d34-0410-b5e6-96231b3b80d8
* silence a warningChris Lattner2006-01-141-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25322 91177308-0d34-0410-b5e6-96231b3b80d8
* bswap implementationNate Begeman2006-01-149-2/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25312 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some redundant stuff out of the readme.Nate Begeman2006-01-141-18/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25308 91177308-0d34-0410-b5e6-96231b3b80d8
* A typo.Evan Cheng2006-01-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25307 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a new InvalidateStructLayoutInfo method and add some commentsChris Lattner2006-01-141-0/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25304 91177308-0d34-0410-b5e6-96231b3b80d8
* Add truncstore i1 patterns.Evan Cheng2006-01-131-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25296 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bug in my last X86 checkin, pointed out by cozmicChris Lattner2006-01-131-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25293 91177308-0d34-0410-b5e6-96231b3b80d8
* LHS = X86ISD::CMOVcc LHS, RHS means LHS = RHS if cc. So the operands must beEvan Cheng2006-01-131-2/+4
| | | | | | | flipped around. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25290 91177308-0d34-0410-b5e6-96231b3b80d8
* make DAG isel the defaultAndrew Lenharth2006-01-131-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25282 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable X86 support for savestack/restorestackChris Lattner2006-01-132-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25278 91177308-0d34-0410-b5e6-96231b3b80d8
* implement stacksave/stackrestore on PPCChris Lattner2006-01-131-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25277 91177308-0d34-0410-b5e6-96231b3b80d8
* don't be a doofus - this fixes storing boolsDuraid Madina2006-01-131-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25274 91177308-0d34-0410-b5e6-96231b3b80d8
* expand unsupported stacksave/stackrestore nodesChris Lattner2006-01-135-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25272 91177308-0d34-0410-b5e6-96231b3b80d8
* new nodesChris Lattner2006-01-132-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25271 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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