aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace the "implementation" keyword with "checkpoint". This more accuratelyReid Spencer2007-03-282-3/+3
| | | | | | | | | describes its function as check against unresolved types and definitions. This is handy for forcing error messages in assembly test cases or otherwise ensuring that everything is resolved at that point in the assembly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35410 91177308-0d34-0410-b5e6-96231b3b80d8
* The implementation keyword was replaced with checkpoint.Reid Spencer2007-03-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35409 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up codes in ComputeMaskedBits():Zhou Sheng2007-03-281-29/+27
| | | | | | | | | 1. Line out nested use of zext/trunc. 2. Make more use of getHighBitsSet/getLowBitsSet. 3. Use APInt[] != 0 instead of "(APInt & SignBit) != 0". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35408 91177308-0d34-0410-b5e6-96231b3b80d8
* Scale 1 is always ok.Evan Cheng2007-03-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35407 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove isLegalAddressImmediate.Evan Cheng2007-03-284-34/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35406 91177308-0d34-0410-b5e6-96231b3b80d8
* No need to generate the implementation keyword any more. Its frivolous.Reid Spencer2007-03-281-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35405 91177308-0d34-0410-b5e6-96231b3b80d8
* implementation keyword is going .. going .. gone.Reid Spencer2007-03-288-16/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35404 91177308-0d34-0410-b5e6-96231b3b80d8
* GEP index sinking fixes:Evan Cheng2007-03-281-40/+35
| | | | | | | | | | 1) Take address scale into consideration. e.g. i32* -> scale 4. 2) Examine all the users of GEP. 3) Generalize to inter-block GEP's (no longer uses loopinfo). 4) Don't do xform if GEP has other variable index(es). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35403 91177308-0d34-0410-b5e6-96231b3b80d8
* don't use 'not' when we can use a positive testChris Lattner2007-03-281-8/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35402 91177308-0d34-0410-b5e6-96231b3b80d8
* new test case for PR1280Reid Spencer2007-03-281-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35401 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1280:Reid Spencer2007-03-281-3/+13
| | | | | | | | When converting an add/xor/and triplet into a trunc/sext, only do so if the intermediate integer type is a bitwidth that the targets can handle. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35400 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1280:Reid Spencer2007-03-282-24/+0
| | | | | | | | Remove test cases for and/xor/add -> trunc/sext that use bit widths that the targets cannot code gen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35399 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a test case for PR1279.Evan Cheng2007-03-281-0/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35398 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2007-03-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35397 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix for PR1279. Dead def has a live interval of length 1. Copy coalescing shouldEvan Cheng2007-03-281-3/+5
| | | | | | | not violate that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35396 91177308-0d34-0410-b5e6-96231b3b80d8
* upgrade a random testChris Lattner2007-03-281-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35395 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove cruft I put in there...Bill Wendling2007-03-281-72/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35394 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a problem building llvm-gcc on amd64-unknown-freebsd6.2, due to theChris Lattner2007-03-281-1/+3
| | | | | | | system assembler not groking legal instructions like "leal (,%esi,8), %ecx". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35393 91177308-0d34-0410-b5e6-96231b3b80d8
* Unbreak mmx arithmetic. It was barfing trying to do v8i8 arithmetic.Bill Wendling2007-03-282-3/+78
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35392 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2007-03-281-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35391 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixing doxygen.cfg target. I'm not a makefile expert, so hopefully this ↵Tanya Lattner2007-03-271-1/+1
| | | | | | correct.Tested doxygen generation on zion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35390 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the "unpack low packed data" instructions. This should be the last ofBill Wendling2007-03-271-73/+130
| | | | | | | the MMX instructions that are needed... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35389 91177308-0d34-0410-b5e6-96231b3b80d8
* Use SmallPtrSet.Devang Patel2007-03-271-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35388 91177308-0d34-0410-b5e6-96231b3b80d8
* Test that a VIEW_CONVERT_EXPR used as an lvalue has the right type.Duncan Sands2007-03-271-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35387 91177308-0d34-0410-b5e6-96231b3b80d8
* Add better support for keywords.Bill Wendling2007-03-271-21/+40
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35386 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix so that pandn is emitted instead of an xor/and combo. Add integerBill Wendling2007-03-272-13/+55
| | | | | | | comparison operators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35385 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for integer comparison builtins.Bill Wendling2007-03-271-0/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35384 91177308-0d34-0410-b5e6-96231b3b80d8
* Unbreaks non-debug builds.Evan Cheng2007-03-271-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35383 91177308-0d34-0410-b5e6-96231b3b80d8
* "The C standards do say that "char" may either be a "signed char" or "unsignedLauro Ramos Venancio2007-03-271-1/+1
| | | | | | | | | char" and it is up to the compilers implementation or the platform which is followed." http://www.arm.linux.org.uk/docs/faqs/signedchar.php git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35382 91177308-0d34-0410-b5e6-96231b3b80d8
* bugfix: sometimes the spiller puts a load between the "mov lr, pc" and "bx" ↵Lauro Ramos Venancio2007-03-273-11/+11
| | | | | | of a CALL_NOLINK. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35381 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead codeAnton Korobeynikov2007-03-271-82/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35380 91177308-0d34-0410-b5e6-96231b3b80d8
* Split big monster into small helpers. No functionality change.Anton Korobeynikov2007-03-271-190/+285
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35379 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1276:Reid Spencer2007-03-271-2/+4
| | | | | | | | | | Allow doxygen documentation to be rebuilt manually with "make regendoc" separately from "make install". Patch by Scott Michel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35378 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR601:Reid Spencer2007-03-271-6/+48
| | | | | | | Add a little flesh to the document skeleton. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35377 91177308-0d34-0410-b5e6-96231b3b80d8
* SDISel does not preserve all, it changes CFG and other info.Evan Cheng2007-03-271-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35376 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't call getOperandConstraint() if operand index is greater thanEvan Cheng2007-03-271-1/+2
| | | | | | | TID->numOperands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35375 91177308-0d34-0410-b5e6-96231b3b80d8
* Spell check.Devang Patel2007-03-271-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35374 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement some minor review feedback.Reid Spencer2007-03-261-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35373 91177308-0d34-0410-b5e6-96231b3b80d8
* Another test case for PR1271 where bad shift masks were generated.Reid Spencer2007-03-261-0/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35372 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1271:Reid Spencer2007-03-261-1/+1
| | | | | | | Fix another incorrectly converted shift mask. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35371 91177308-0d34-0410-b5e6-96231b3b80d8
* Reduce malloc/free traffic.Devang Patel2007-03-261-12/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35370 91177308-0d34-0410-b5e6-96231b3b80d8
* It is not possible to determie dominance between two PHI nodesDevang Patel2007-03-261-0/+6
| | | | | | | based on their ordering. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35369 91177308-0d34-0410-b5e6-96231b3b80d8
* Use std::vector<DFCalculateWorkObject> instead ofDevang Patel2007-03-261-7/+4
| | | | | | | std::vector<DFCalculateWorkObject *> to reduce malloc/free traffic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35368 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for PR1266.Evan Cheng2007-03-261-0/+948
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35367 91177308-0d34-0410-b5e6-96231b3b80d8
* findRegisterUseOperand() changed.Evan Cheng2007-03-262-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35366 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix for PR1266. Don't mark a two address operand IsKill.Evan Cheng2007-03-262-22/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35365 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR1277:Reid Spencer2007-03-261-1/+4
| | | | | | | | | Implement error handling for bytecode parsing. Patch by Scott Michel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35364 91177308-0d34-0410-b5e6-96231b3b80d8
* Change findRegisterUseOperand() to return operand index instead.Evan Cheng2007-03-262-7/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35363 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix reversed logic in getRegsUsed. Rename RegStates to RegsAvailable toDale Johannesen2007-03-262-23/+23
| | | | | | | hopefully forestall similar errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35362 91177308-0d34-0410-b5e6-96231b3b80d8
* eliminate use of std::setChris Lattner2007-03-261-6/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35361 91177308-0d34-0410-b5e6-96231b3b80d8