summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* CellSPU:Scott Michel2009-01-2110-133/+320
| | | | | | | | | | | | | - Ensure that (operation) legalization emits proper FDIV libcall when needed. - Fix various bugs encountered during llvm-spu-gcc build, along with various cleanups. - Start supporting double precision comparisons for remaining libgcc2 build. Discovered interesting DAGCombiner feature, which is currently solved via custom lowering (64-bit constants are not legal on CellSPU, but DAGCombiner insists on inserting one anyway.) - Update README. llvm-svn: 62664
* Allow targets to legalize operations (with illegal operands) that produces ↵Sanjiv Gupta2009-01-216-68/+102
| | | | | | multiple values. For example, a load with an illegal operand (a load produces two values, a value and chain). llvm-svn: 62663
* Favors generating "not" over "xor -1". For example.Evan Cheng2009-01-212-1/+4
| | | | | | | | | | | | | | | | | unsigned test(unsigned a) { return ~a; } llvm used to generate: movl $4294967295, %eax xorl 4(%esp), %eax Now it generates: movl 4(%esp), %eax notl %eax It's 3 bytes shorter. llvm-svn: 62661
* Disable on x86_64 until I figure out what's wrong.Dale Johannesen2009-01-211-0/+1
| | | | llvm-svn: 62660
* Make special cases (0 inf nan) work for frem.Dale Johannesen2009-01-215-38/+384
| | | | | | | | Besides APFloat, this involved removing code from two places that thought they knew the result of frem(0., x) but were wrong. llvm-svn: 62645
* Be more aggressive about renumbering vregs after splitting them.Owen Anderson2009-01-212-4/+8
| | | | llvm-svn: 62639
* Encode member accessibility.Devang Patel2009-01-212-2/+6
| | | | llvm-svn: 62638
* Appropriately mark fowrad decls.Devang Patel2009-01-203-12/+18
| | | | llvm-svn: 62625
* Need compile unit to find location.Devang Patel2009-01-201-2/+2
| | | | llvm-svn: 62624
* Calls to fmod, it turns out, are constant-folded byDale Johannesen2009-01-201-6/+4
| | | | | | | | invoking the host fmod, not by lowering to frem and constant-folding that. Fix this so it tests what I want to test. llvm-svn: 62622
* Don't bother running the assembler, we don't know that it will be configuredChris Lattner2009-01-201-1/+1
| | | | | | for whatever llc defaults to. This fixes PR3363 llvm-svn: 62619
* Fix PR3243: a LiveVariables bug. When HandlePhysRegKill is checking whether ↵Evan Cheng2009-01-203-14/+31
| | | | | | the last reference is also the last def (i.e. dead def), it should also check if last reference is the current machine instruction being processed. This can happen when it is processing a physical register use and setting the current machine instruction as sub-register's last ref. llvm-svn: 62617
* Fix typo. Patch by Alexei Svitkine.Duncan Sands2009-01-201-1/+1
| | | | llvm-svn: 62616
* Use "SINT_TO_FP" instead of "UINT_TO_FP" when getting the exponent. This wasBill Wendling2009-01-201-12/+13
| | | | | | | causing the limited precision stuff to produce the wrong result for values in the range [0, 1). llvm-svn: 62615
* Fix struct member's debug info.Devang Patel2009-01-201-7/+24
| | | | llvm-svn: 62610
* Add test case for PR3154.Evan Cheng2009-01-201-0/+104
| | | | llvm-svn: 62604
* indentation...Devang Patel2009-01-201-5/+5
| | | | llvm-svn: 62603
* Need only one set of debug info versions enum.Devang Patel2009-01-205-28/+19
| | | | llvm-svn: 62602
* Change TargetInstrInfo::isMoveInstr to return source and destination ↵Evan Cheng2009-01-2032-127/+161
| | | | | | sub-register indices as well. llvm-svn: 62600
* zap white spaces.Devang Patel2009-01-201-56/+48
| | | | llvm-svn: 62598
* Fix global variable's address in a DIE.Devang Patel2009-01-201-1/+1
| | | | llvm-svn: 62596
* Enable debug info for enums.Devang Patel2009-01-201-10/+14
| | | | llvm-svn: 62594
* Add an IEEE remainder function, which is notDale Johannesen2009-01-202-1/+42
| | | | | | | | fully implemented yet and not used. This is mainly to clarify that APFloat::mod implements C fmod, not remainder. llvm-svn: 62593
* improve compatibility with various versions of graphviz, patch byChris Lattner2009-01-201-1/+1
| | | | | | Patrick Boettcher! llvm-svn: 62592
* eliminate use of uint32_t to improve compatibility with cygwinChris Lattner2009-01-201-76/+76
| | | | llvm-svn: 62591
* Eliminate use of uint32_t to improve compatibility with cygwinChris Lattner2009-01-201-6/+6
| | | | llvm-svn: 62590
* Enable debug info for composite types.Devang Patel2009-01-202-4/+1
| | | | llvm-svn: 62589
* Check that the "don't barf on k8" fix is notDuncan Sands2009-01-201-0/+2
| | | | | | accidentally reverted again. llvm-svn: 62587
* SpacingEvan Cheng2009-01-201-1/+1
| | | | llvm-svn: 62584
* Temporarily XFAIL until this can be looked at. r62557 is what caused it to ↵Bill Wendling2009-01-201-0/+1
| | | | | | start failing. llvm-svn: 62578
* If a vector is empty, you're not allowed to access anyDuncan Sands2009-01-201-2/+3
| | | | | | | elements, even if it is only to take the address. Test: break-anti-dependencies.ll with ENABLE_EXPENSIVE_CHECKS. llvm-svn: 62576
* Refactor code. No functionality change.Evan Cheng2009-01-202-34/+89
| | | | llvm-svn: 62573
* Testcase for limited precision stuff.Bill Wendling2009-01-201-0/+133
| | | | llvm-svn: 62572
* Shift types need to match.Bill Wendling2009-01-201-8/+9
| | | | llvm-svn: 62571
* another fix for PR3354Chris Lattner2009-01-202-1/+17
| | | | llvm-svn: 62561
* Add a README entry noticed while investigating PR3216.Dan Gohman2009-01-201-0/+22
| | | | llvm-svn: 62558
* Fix a dagcombine to not generate loads of non-round integer types,Dan Gohman2009-01-202-1/+15
| | | | | | | as its comment says, even in the case where it will be generating extending loads. This fixes PR3216. llvm-svn: 62557
* Do not use DenseMap because the iterator is invalidated while constructing ↵Devang Patel2009-01-201-2/+2
| | | | | | types. After all there was a reason why std::map was used initially! llvm-svn: 62555
* Regenerate.Nick Lewycky2009-01-201-3299/+1385
| | | | | | | BUILT WITH WRONG VERSION OF AUTOCONF! Somebody please regenerate with an approved version. Thanks! llvm-svn: 62554
* Make the Interpreter use libffi if it's available. Patch from Alexei Svitkine!Nick Lewycky2009-01-202-496/+215
| | | | | | | | | | | This requires a rebuild of 'configure' itself. I will be committing that next, but built with the wrong version of autoconf. Somebody who has the right one, please update it. As a side-note, because of the way autoconf works, all built tools will link against libffi, not just lli. If you know how to fix this, please let me know ... llvm-svn: 62553
* Make linear scan's trivial coalescer slightly more aggressive.Evan Cheng2009-01-202-6/+14
| | | | llvm-svn: 62547
* Doxygen-ify comments.Bill Wendling2009-01-191-45/+43
| | | | llvm-svn: 62546
* Verify debug info.Devang Patel2009-01-195-10/+138
| | | | llvm-svn: 62545
* Fix a problem exposed by PR3354: simplifycfg was making a potentiallyChris Lattner2009-01-192-1/+34
| | | | | | trapping instruction be executed unconditionally. llvm-svn: 62541
* Remove SDNode's virtual destructor. This makes it impossible forDan Gohman2009-01-193-89/+16
| | | | | | | | | | | | | | SDNode subclasses to keep state that requires non-trivial destructors, however it was already effectively impossible, since the destructor isn't actually ever called. There currently aren't any SDNode subclasses affected by this, and in general it's desireable to keep SDNode objects light-weight. This eliminates the last virtual member function in the SDNode class, so it eliminates the need for a vtable pointer, making SDNode smaller. llvm-svn: 62539
* Move & restructure test per review.Dale Johannesen2009-01-191-2/+2
| | | | llvm-svn: 62538
* convert this to an unfoldable potentially trapping constant expr.Chris Lattner2009-01-191-2/+4
| | | | llvm-svn: 62536
* improve compatibility with cygwin, patch by Jay Foad!Chris Lattner2009-01-192-6/+17
| | | | llvm-svn: 62535
* div/rem by zero and div/rem overflow are both undefined according toChris Lattner2009-01-191-11/+11
| | | | | | | langref. Constant fold them to undef instead of trying to preserve the trap. This fixes PR3354. llvm-svn: 62534
* Fix SelectionDAG::ReplaceAllUsesWith to behave correctly whenDan Gohman2009-01-193-16/+47
| | | | | | | | | | | | | uses are added to the From node while it is processing From's use list, because of automatic local CSE. The fix is to avoid visiting any new uses. Fix a few places in the DAGCombiner that assumed that after a RAUW call, the From node has no users and may be deleted. This fixes PR3018. llvm-svn: 62533
OpenPOWER on IntegriCloud