Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | X86: Fix encoding for TEST{8,16,32}rr. | Daniel Dunbar | 2010-03-08 | 1 | -3/+3 | |
| | | | | llvm-svn: 97982 | |||||
* | Avoid using DIDescriptor.isNull(). | Devang Patel | 2010-03-08 | 7 | -160/+122 | |
| | | | | | | This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975 | |||||
* | Revert r97947. | Devang Patel | 2010-03-08 | 7 | -122/+160 | |
| | | | | llvm-svn: 97963 | |||||
* | disambiguate some types, add a fixme about some | Chris Lattner | 2010-03-08 | 4 | -5/+6 | |
| | | | | | | inconsistent intrinsics. llvm-svn: 97959 | |||||
* | fix some more ambiguous patterns, remove another nontemporalstore | Chris Lattner | 2010-03-08 | 2 | -14/+12 | |
| | | | | | | pattern which is broken (source and address swapped). llvm-svn: 97958 | |||||
* | Correct immediate sizes. | Chris Lattner | 2010-03-08 | 2 | -2/+2 | |
| | | | | llvm-svn: 97957 | |||||
* | fix a type compatibility bug. imm is i32 in the input | Chris Lattner | 2010-03-08 | 2 | -1/+6 | |
| | | | | | | pattern, not i64. llvm-svn: 97956 | |||||
* | fix a bunch of partially ambiguous patterns on ARM. As an | Chris Lattner | 2010-03-08 | 3 | -35/+40 | |
| | | | | | | | | | | | | example, this: (set DPR:$dst, (fsub (fneg (fmul DPR:$a, DPR:$b)), DPR:$dstin)) is ambiguous because DPR contains both f64 and v2f32. tblgen currently accidentally picks f64 because it's first in the regclass. llvm-svn: 97955 | |||||
* | Fix a bunch of ambiguous patterns which tblgen happens to infer types | Chris Lattner | 2010-03-08 | 1 | -7/+7 | |
| | | | | | | for, due to a bug. llvm-svn: 97953 | |||||
* | tidy up | Chris Lattner | 2010-03-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 97950 | |||||
* | Avoid using DIDescriptor.isNull(). | Devang Patel | 2010-03-08 | 7 | -160/+122 | |
| | | | | | | This is a first step towards eliminating unncessary constructor checks in light weight DIDescriptor wrappers. llvm-svn: 97947 | |||||
* | Add Order to SDDbgValue | Dale Johannesen | 2010-03-08 | 1 | -4/+10 | |
| | | | | llvm-svn: 97939 | |||||
* | Fix dbg value handling in tail merging. | Dale Johannesen | 2010-03-08 | 1 | -3/+25 | |
| | | | | llvm-svn: 97938 | |||||
* | remove a non-temporal store pattern which is not tested and | Chris Lattner | 2010-03-08 | 1 | -3/+0 | |
| | | | | | | could never have matched because the operand list was backwards. llvm-svn: 97933 | |||||
* | Revert r97917, which was causing Clang Debug self-host failures. | Douglas Gregor | 2010-03-08 | 3 | -28/+29 | |
| | | | | llvm-svn: 97932 | |||||
* | Roll back r97918 again. Just configuring against llvm-gcc wasn't enough to run | Jeffrey Yasskin | 2010-03-07 | 2 | -25/+16 | |
| | | | | | | the FrontendC* tests. :( llvm-svn: 97921 | |||||
* | Reapply r97788 to free MDNodes when the LLVMContext is destroyed. It | Jeffrey Yasskin | 2010-03-07 | 2 | -16/+25 | |
| | | | | | | bootstraps llvm-gcc this time. llvm-svn: 97918 | |||||
* | Roll r97906 forward again, without double-deleting CompileUnit::IndexTyDie. | Jeffrey Yasskin | 2010-03-07 | 3 | -29/+28 | |
| | | | | llvm-svn: 97917 | |||||
* | Use Other as a sentinel instead of iAny. | Chris Lattner | 2010-03-07 | 1 | -4/+4 | |
| | | | | llvm-svn: 97914 | |||||
* | _2_ gcc crashes, ah, ah, ah... | Jeffrey Yasskin | 2010-03-07 | 2 | -24/+22 | |
| | | | | | | (Rolling back r97906.) llvm-svn: 97909 | |||||
* | Avoid leaking CompileUnits and DbgScopes from DwarfDebug. Leaks found by ↵ | Jeffrey Yasskin | 2010-03-07 | 2 | -22/+24 | |
| | | | | | | Valgrind! llvm-svn: 97906 | |||||
* | tidy up | Chris Lattner | 2010-03-07 | 1 | -10/+10 | |
| | | | | llvm-svn: 97895 | |||||
* | Re-committing the failed r97807 commit with changes to eliminate warnings. | Wesley Peck | 2010-03-06 | 6 | -62/+193 | |
| | | | | llvm-svn: 97891 | |||||
* | Add verification of union types. | Nick Lewycky | 2010-03-06 | 1 | -0/+9 | |
| | | | | llvm-svn: 97889 | |||||
* | Describe what's going on with mingw alloca and why do we need separate ↵ | Anton Korobeynikov | 2010-03-06 | 1 | -1/+9 | |
| | | | | | | instruction. llvm-svn: 97888 | |||||
* | Initial bits of ARMv4-only support. | Anton Korobeynikov | 2010-03-06 | 5 | -29/+88 | |
| | | | | | | Patch by John Tytgat! llvm-svn: 97886 | |||||
* | Lower dynamic stack allocation on mingw32 to separate instruction. | Anton Korobeynikov | 2010-03-06 | 4 | -20/+56 | |
| | | | | | | | We cannot use a normal call here since it has extra unmodelled side effects (it changes stack pointer). This should fix PR5292. llvm-svn: 97884 | |||||
* | make APFloat::toString be const. | Chris Lattner | 2010-03-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 97883 | |||||
* | Do not use '&' prefix for globals when register base field is non-zero, ↵ | Anton Korobeynikov | 2010-03-06 | 2 | -19/+27 | |
| | | | | | | | | otherwise msp430-as will silently miscompile the code (TI's assembler report an error though). This fixes PR6349 llvm-svn: 97877 | |||||
* | Let the fallthrough handle whether or not we've changed anything | Eric Christopher | 2010-03-06 | 1 | -1/+3 | |
| | | | | | | before we try to optimize. llvm-svn: 97876 | |||||
* | Migrate _chk call lowering from SimplifyLibCalls to InstCombine. Stub | Eric Christopher | 2010-03-06 | 3 | -136/+128 | |
| | | | | | | | | out the remainder of the calls that we should lower in some way and move the tests to the new correct directory. Fix up tests that are now optimized more than they were before by -instcombine. llvm-svn: 97875 | |||||
* | clean this up. | Chris Lattner | 2010-03-06 | 1 | -6/+7 | |
| | | | | llvm-svn: 97870 | |||||
* | revert r97807, it introduced build warnings. | Chris Lattner | 2010-03-06 | 5 | -243/+47 | |
| | | | | llvm-svn: 97869 | |||||
* | Thumb1 epilogue code generation needs to take into account that callee-saved | Jim Grosbach | 2010-03-06 | 1 | -4/+18 | |
| | | | | | | | registers may be restored via a pop instruction, not just a tRestore. This fixes nightly test 471.omnetep for Thumb1. llvm-svn: 97867 | |||||
* | Temporarily revert: | Eric Christopher | 2010-03-06 | 1 | -10/+0 | |
| | | | | | | | | | | | | | Log: Transform @llvm.objectsize to integer if the argument is a result of malloc of known size. Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp llvm/trunk/test/Transforms/InstCombine/objsize.ll It appears to be causing swb and nightly test failures. llvm-svn: 97866 | |||||
* | Fix another case where LSR was affected by debug info. | Dale Johannesen | 2010-03-06 | 1 | -1/+12 | |
| | | | | llvm-svn: 97865 | |||||
* | Don't update physical register def. | Evan Cheng | 2010-03-06 | 1 | -2/+3 | |
| | | | | llvm-svn: 97861 | |||||
* | Transform @llvm.objectsize to integer if the argument is a result of malloc ↵ | Evan Cheng | 2010-03-06 | 1 | -0/+10 | |
| | | | | | | of known size. llvm-svn: 97860 | |||||
* | Add a LLVMWriteBitcodeToFD that exposes the raw_fd_ostream options. | Erick Tryzelaar | 2010-03-06 | 1 | -2/+7 | |
| | | | | llvm-svn: 97858 | |||||
* | Whoops, the old LLVMWriteBitcodeToFileHandle closed the stream. | Erick Tryzelaar | 2010-03-06 | 1 | -1/+1 | |
| | | | | | | Luckily this never was released. llvm-svn: 97857 | |||||
* | LLVMWriteBitcodeToFileHandle should work on all architectures now. | Erick Tryzelaar | 2010-03-06 | 1 | -11/+0 | |
| | | | | llvm-svn: 97856 | |||||
* | Add some new bits of debug info handling. No | Dale Johannesen | 2010-03-06 | 3 | -0/+129 | |
| | | | | | | functional change yet. llvm-svn: 97855 | |||||
* | Reapply r97778 and r97779, enabled only for unsigned i64 to f64 | Dan Gohman | 2010-03-06 | 1 | -0/+25 | |
| | | | | | | conversions. llvm-svn: 97854 | |||||
* | Update CMake build. | Ted Kremenek | 2010-03-05 | 1 | -0/+1 | |
| | | | | llvm-svn: 97846 | |||||
* | Don't emit global symbols into the (__TEXT,__ustring) section on Darwin. This | Charles Davis | 2010-03-05 | 1 | -1/+1 | |
| | | | | | | | | | is a workaround for <rdar://problem/7672401/> (which I filed). This let's us build Wine on Darwin, and it gets the Qt build there a little bit further (so Doug says). llvm-svn: 97845 | |||||
* | Move SimplifyLibCalls's LibCall builders to a separate file so they | Eric Christopher | 2010-03-05 | 2 | -386/+357 | |
| | | | | | | | | can be used in more places. Add an argument for the TargetData that most of them need. Update for the getInt8PtrTy() change. Should be no functionality change. llvm-svn: 97844 | |||||
* | Better handling of dead super registers in LiveVariables. We used to do this: | Jakob Stoklund Olesen | 2010-03-05 | 1 | -21/+21 | |
| | | | | | | | | | | | | | | | | | | | | | CALL ... %RAX<imp-def> ... [not using %RAX] %EAX = ..., %RAX<imp-use, kill> RET %EAX<imp-use,kill> Now we do this: CALL ... %RAX<imp-def, dead> ... [not using %RAX] %EAX = ... RET %EAX<imp-use,kill> By not artificially keeping %RAX alive, we lower register pressure a bit. The correct number of instructions for 2008-08-05-SpillerBug.ll is obviously 55, anybody can see that. Sheesh. llvm-svn: 97838 | |||||
* | We don't really care about correct register liveness information after the | Jakob Stoklund Olesen | 2010-03-05 | 1 | -4/+10 | |
| | | | | | | post-ra scheduler has run. Disable the verifier checks that late in the game. llvm-svn: 97837 | |||||
* | Avoid creating bad PHI instructions when BR is being const-folded. | Jakob Stoklund Olesen | 2010-03-05 | 1 | -0/+2 | |
| | | | | llvm-svn: 97836 | |||||
* | Fix a case where LSR is sensitive to debug info. | Dale Johannesen | 2010-03-05 | 1 | -0/+9 | |
| | | | | llvm-svn: 97830 |