Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | For PR789: | Reid Spencer | 2007-03-29 | 2 | -26/+49 | |
| | | | | | | | | | * Add a method: bool isAbsolute() const, which determines if the path name is absolute or not. * Implement caching of file status information in the Path object. Allow it to be updated forcefully or lazily re-fetched from the cached value. llvm-svn: 35456 | |||||
* | 1. Make more use of APInt::getHighBitsSet/getLowBitsSet. | Zhou Sheng | 2007-03-29 | 1 | -24/+28 | |
| | | | | | | | 2. Let APInt variable do the binary operation stuff instead of using ConstantExpr::getXXX. llvm-svn: 35450 | |||||
* | Disable load width reduction xform of variant (zext (truncate load x)) for | Evan Cheng | 2007-03-29 | 1 | -1/+3 | |
| | | | | | | big endian targets until llvm-gcc build issue has been resolved. llvm-svn: 35449 | |||||
* | Add support for hidden visibility to darwin/arm. | Evan Cheng | 2007-03-29 | 1 | -0/+4 | |
| | | | | llvm-svn: 35448 | |||||
* | Clean up some codes in InstCombiner::SimplifyDemandedBits(). | Zhou Sheng | 2007-03-29 | 1 | -12/+6 | |
| | | | | llvm-svn: 35446 | |||||
* | New entries. | Evan Cheng | 2007-03-29 | 1 | -0/+21 | |
| | | | | llvm-svn: 35445 | |||||
* | Clean up codes in InstCombiner::SimplifyDemandedBits(): | Zhou Sheng | 2007-03-29 | 1 | -32/+35 | |
| | | | | | | | | 1. Line out nested call of APInt::zext/trunc. 2. Make more use of APInt::getHighBitsSet/getLowBitsSet. 3. Use APInt[] operator instead of expression like "APIntVal & SignBit". llvm-svn: 35444 | |||||
* | 1. Make the APInt variable do the binary operation stuff if possible | Zhou Sheng | 2007-03-29 | 1 | -3/+5 | |
| | | | | | | | | instead of using ConstantExpr::getXX. 2. Use constant reference to APInt if possible instead of expensive APInt copy. llvm-svn: 35443 | |||||
* | Fix C Backend to generate code that works with Microsoft C for the benefit of | Jeff Cohen | 2007-03-28 | 1 | -1/+4 | |
| | | | | | | front ends that do not depend on the GCC runtime (someday...). llvm-svn: 35441 | |||||
* | Made this into a bug report: PR1286 | Bill Wendling | 2007-03-28 | 1 | -40/+0 | |
| | | | | llvm-svn: 35439 | |||||
* | Oops :) | Anton Korobeynikov | 2007-03-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 35438 | |||||
* | Don't allow MatchAddress recurse too much. This trims exponential | Anton Korobeynikov | 2007-03-28 | 1 | -6/+14 | |
| | | | | | | behaviour in some cases. llvm-svn: 35437 | |||||
* | add a note | Chris Lattner | 2007-03-28 | 1 | -0/+8 | |
| | | | | llvm-svn: 35435 | |||||
* | Compile CodeGen/X86/lea-3.ll:test2 to: | Chris Lattner | 2007-03-28 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | _test3: leaq (,%rdi,4), %rax orq %rdi, %rax ret instead of: _test2: movq %rdi, %rax shlq $2, %rax orq %rdi, %rax ret llvm-svn: 35434 | |||||
* | Avoid unnecessary APInt construction. | Zhou Sheng | 2007-03-28 | 1 | -3/+2 | |
| | | | | llvm-svn: 35431 | |||||
* | Dan pointed out that this is done, remove it! | Chris Lattner | 2007-03-28 | 1 | -21/+0 | |
| | | | | llvm-svn: 35430 | |||||
* | First test check-in. | Scott Michel | 2007-03-28 | 1 | -0/+10 | |
| | | | | llvm-svn: 35429 | |||||
* | 1. Make more use of getLowBitsSet/getHighBitsSet. | Zhou Sheng | 2007-03-28 | 1 | -13/+16 | |
| | | | | | | | | 2. Use APInt[] instead of "X & SignBit". 3. Clean up some codes. 4. Make the expression like "ShiftAmt = ShiftAmtC->getZExtValue()" safe. llvm-svn: 35424 | |||||
* | It is not possible to determine dominance between two PHI nodes | Devang Patel | 2007-03-28 | 1 | -0/+5 | |
| | | | | | | based on their ordering. This is applicable to ETForest::dominates() also. llvm-svn: 35423 | |||||
* | 1. Make more use of getLowBitsSet/getHighBitsSet. | Zhou Sheng | 2007-03-28 | 1 | -5/+3 | |
| | | | | | | | 2. Make the APInt value do the zext/trunc stuff instead of using ConstantExpr::getZExt(). llvm-svn: 35422 | |||||
* | Notes on re-materialization. | Evan Cheng | 2007-03-28 | 1 | -0/+40 | |
| | | | | llvm-svn: 35420 | |||||
* | Move rematerialization out of beta. | Evan Cheng | 2007-03-28 | 1 | -7/+1 | |
| | | | | llvm-svn: 35419 | |||||
* | Use UnknownBIts[BitWidth-1] instead of UnknownBIts & SignBits. | Zhou Sheng | 2007-03-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 35418 | |||||
* | Remove unused APInt variable. | Zhou Sheng | 2007-03-28 | 1 | -3/+0 | |
| | | | | llvm-svn: 35414 | |||||
* | Regenerate. | Reid Spencer | 2007-03-28 | 5 | -451/+448 | |
| | | | | llvm-svn: 35411 | |||||
* | Replace the "implementation" keyword with "checkpoint". This more accurately | Reid Spencer | 2007-03-28 | 2 | -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. llvm-svn: 35410 | |||||
* | Clean up codes in ComputeMaskedBits(): | Zhou Sheng | 2007-03-28 | 1 | -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". llvm-svn: 35408 | |||||
* | Scale 1 is always ok. | Evan Cheng | 2007-03-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 35407 | |||||
* | Remove isLegalAddressImmediate. | Evan Cheng | 2007-03-28 | 3 | -28/+0 | |
| | | | | llvm-svn: 35406 | |||||
* | No need to generate the implementation keyword any more. Its frivolous. | Reid Spencer | 2007-03-28 | 1 | -2/+0 | |
| | | | | llvm-svn: 35405 | |||||
* | GEP index sinking fixes: | Evan Cheng | 2007-03-28 | 1 | -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). llvm-svn: 35403 | |||||
* | For PR1280: | Reid Spencer | 2007-03-28 | 1 | -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. llvm-svn: 35400 | |||||
* | Fix for PR1279. Dead def has a live interval of length 1. Copy coalescing should | Evan Cheng | 2007-03-28 | 1 | -3/+5 | |
| | | | | | | not violate that. llvm-svn: 35396 | |||||
* | Remove cruft I put in there... | Bill Wendling | 2007-03-28 | 1 | -72/+0 | |
| | | | | llvm-svn: 35394 | |||||
* | Fix a problem building llvm-gcc on amd64-unknown-freebsd6.2, due to the | Chris Lattner | 2007-03-28 | 1 | -1/+3 | |
| | | | | | | system assembler not groking legal instructions like "leal (,%esi,8), %ecx". llvm-svn: 35393 | |||||
* | Unbreak mmx arithmetic. It was barfing trying to do v8i8 arithmetic. | Bill Wendling | 2007-03-28 | 2 | -3/+78 | |
| | | | | llvm-svn: 35392 | |||||
* | Add the "unpack low packed data" instructions. This should be the last of | Bill Wendling | 2007-03-27 | 1 | -73/+130 | |
| | | | | | | the MMX instructions that are needed... llvm-svn: 35389 | |||||
* | Use SmallPtrSet. | Devang Patel | 2007-03-27 | 1 | -1/+2 | |
| | | | | llvm-svn: 35388 | |||||
* | Fix so that pandn is emitted instead of an xor/and combo. Add integer | Bill Wendling | 2007-03-27 | 2 | -13/+55 | |
| | | | | | | comparison operators. llvm-svn: 35385 | |||||
* | Unbreaks non-debug builds. | Evan Cheng | 2007-03-27 | 1 | -0/+2 | |
| | | | | llvm-svn: 35383 | |||||
* | "The C standards do say that "char" may either be a "signed char" or "unsigned | Lauro Ramos Venancio | 2007-03-27 | 1 | -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 llvm-svn: 35382 | |||||
* | bugfix: sometimes the spiller puts a load between the "mov lr, pc" and "bx" ↵ | Lauro Ramos Venancio | 2007-03-27 | 3 | -11/+11 | |
| | | | | | | of a CALL_NOLINK. llvm-svn: 35381 | |||||
* | Remove dead code | Anton Korobeynikov | 2007-03-27 | 1 | -82/+46 | |
| | | | | llvm-svn: 35380 | |||||
* | Split big monster into small helpers. No functionality change. | Anton Korobeynikov | 2007-03-27 | 1 | -190/+285 | |
| | | | | llvm-svn: 35379 | |||||
* | SDISel does not preserve all, it changes CFG and other info. | Evan Cheng | 2007-03-27 | 1 | -1/+0 | |
| | | | | llvm-svn: 35376 | |||||
* | Don't call getOperandConstraint() if operand index is greater than | Evan Cheng | 2007-03-27 | 1 | -1/+2 | |
| | | | | | | TID->numOperands. llvm-svn: 35375 | |||||
* | Spell check. | Devang Patel | 2007-03-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 35374 | |||||
* | Implement some minor review feedback. | Reid Spencer | 2007-03-26 | 1 | -3/+3 | |
| | | | | llvm-svn: 35373 | |||||
* | For PR1271: | Reid Spencer | 2007-03-26 | 1 | -1/+1 | |
| | | | | | | Fix another incorrectly converted shift mask. llvm-svn: 35371 | |||||
* | Reduce malloc/free traffic. | Devang Patel | 2007-03-26 | 1 | -12/+8 | |
| | | | | llvm-svn: 35370 |