summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Conditionalize the format of the GCOV files by target type. Darwin uses the 4.2Bill Wendling2011-05-171-10/+19
| | | | | | format. llvm-svn: 131503
* Make fast-isel miss counting in -stats and -fast-isel-verbose take ↵Eli Friedman2011-05-171-3/+8
| | | | | | terminators into account; since there are many fewer isel misses with recent changes, misses caused by terminators are more significant. llvm-svn: 131502
* Misc. code cleanups.Dan Gohman2011-05-171-60/+59
| | | | llvm-svn: 131497
* Misc. code cleanups.Dan Gohman2011-05-171-33/+34
| | | | llvm-svn: 131495
* X86 pmovsx/pmovzx ignore the upper half of their inputs.Stuart Hastings2011-05-172-1/+23
| | | | | | rdar://problem/6945110 llvm-svn: 131493
* vrev is incorrectly defined in the perfect shuffle table. The ordering is ↵Tanya Lattner2011-05-171-6565/+6566
| | | | | | backwards (should be 0x3210 versus 0x1032) which exposed a bug when doing a shuffle on a 4xi16. I've attached a test case. llvm-svn: 131488
* Preserve line number information.Devang Patel2011-05-171-0/+1
| | | | llvm-svn: 131482
* Set debug loc for new load instruction.Devang Patel2011-05-171-0/+3
| | | | llvm-svn: 131481
* Preserve line number information.Devang Patel2011-05-171-1/+2
| | | | llvm-svn: 131480
* Enable autodetect of popcntMon P Wang2011-05-171-0/+1
| | | | llvm-svn: 131476
* Add x86 fast-isel for calls returning first-class aggregates. rdar://9435872.Eli Friedman2011-05-171-46/+51
| | | | | | This is r131438 with a couple small fixes. llvm-svn: 131474
* Clean up the mess created by r131467+r131469.Eli Friedman2011-05-172-16/+0
| | | | llvm-svn: 131471
* Revert 131467 due to buildbot complaint.Stuart Hastings2011-05-173-80/+30
| | | | llvm-svn: 131469
* Fix an obscure issue in X86_64 parameter passing: if a tiny byval isStuart Hastings2011-05-173-15/+81
| | | | | | | passed as the fifth parameter, insure it's passed correctly (in R9). rdar://problem/6920088 llvm-svn: 131467
* Tweak cross-class coalescing to be more aggressive when the target class is ↵Jakob Stoklund Olesen2011-05-171-3/+9
| | | | | | | | | | | | | small. The greedy register allocator has live range splitting and register class inflation, so it can actually fully undo this join, including restoring the original register classes. We still don't want to do this for long live ranges, mostly because of the high register pressure of there are many constrained live ranges overlapping. llvm-svn: 131466
* Don't include information about the build into the information returned byRafael Espindola2011-05-171-29/+0
| | | | | | getHostTriple. This fixes a 32 bit clang running on a 64 bit ubuntu. llvm-svn: 131463
* Fix a bug in PerformEXTRACT_VECTOR_ELTCombine. The code created an ADD SDNodeNadav Rotem2011-05-171-2/+2
| | | | | | | with two different types, in cases where the index and the ptr had different types. llvm-svn: 131461
* Update comment.Eric Christopher2011-05-171-4/+4
| | | | llvm-svn: 131459
* Support XOR and AND optimization with no return value.Eric Christopher2011-05-172-5/+51
| | | | | | Finishes off rdar://8470697 llvm-svn: 131458
* Couple less magic numbers.Eric Christopher2011-05-171-3/+5
| | | | llvm-svn: 131457
* Make this code a little less magic number laden.Eric Christopher2011-05-171-12/+30
| | | | llvm-svn: 131456
* add a noteChris Lattner2011-05-171-0/+26
| | | | llvm-svn: 131455
* Back out r131444 and r131438; they're breaking nightly tests. I'll look intoEli Friedman2011-05-171-43/+48
| | | | | | it more tomorrow. llvm-svn: 131451
* Add x86 fast-isel for calls returning first-class aggregates. rdar://9435872.Eli Friedman2011-05-171-48/+43
| | | | llvm-svn: 131438
* @llvm.lifetime.begin acts as a load, not @llvm.lifetime.end.Owen Anderson2011-05-171-1/+1
| | | | llvm-svn: 131437
* Teach LiveInterval::isZeroLength about null SlotIndexes.Jakob Stoklund Olesen2011-05-161-1/+1
| | | | | | | | | | | | When instructions are deleted, they leave tombstone SlotIndex entries. The isZeroLength method should ignore these null indexes. This causes RABasic to sometimes spill a callee-saved register in the abi-isel.ll test, so don't run that test with -regalloc=basic. Prioritizing register allocation according to spill weight can cause more registers to be used. llvm-svn: 131436
* Kill some dead code.Jim Grosbach2011-05-161-3/+1
| | | | llvm-svn: 131431
* Delete unused variables.Dan Gohman2011-05-162-8/+6
| | | | llvm-svn: 131430
* Trim #includes.Dan Gohman2011-05-161-7/+0
| | | | llvm-svn: 131429
* Fix whitespace and 80-column violations.Dan Gohman2011-05-161-10/+10
| | | | llvm-svn: 131428
* There is no need to force DebugLoc on a PHI at this point.Devang Patel2011-05-161-2/+0
| | | | llvm-svn: 131427
* Track how many insns fast-isel successfully selects as well as how many itJim Grosbach2011-05-161-0/+2
| | | | | | misses. llvm-svn: 131426
* Remove dead code. Fix associated test to use FileCheck.Eli Friedman2011-05-161-14/+0
| | | | llvm-svn: 131424
* Preserve debug info for unused zero extended boolean argument.Devang Patel2011-05-162-10/+40
| | | | | | Radar 9422775. llvm-svn: 131422
* Add a method I forgot in the last commit. Don't worry, this one passedCharles Davis2011-05-161-0/+6
| | | | | | self-host :). llvm-svn: 131421
* Make fast-isel work correctly s/uadd.with.overflow intrinsics.Eli Friedman2011-05-162-83/+14
| | | | llvm-svn: 131420
* Fix silly typo.Eli Friedman2011-05-161-1/+1
| | | | llvm-svn: 131419
* Basic fast-isel of extractvalue. Not too helpful on its own, given the IR ↵Eli Friedman2011-05-161-0/+42
| | | | | | clang generates for cases like this, but it should become more useful soon. llvm-svn: 131417
* Add a FIXME reminder to remove ForceARMElfPIC switch.Jason W Kim2011-05-161-0/+4
| | | | llvm-svn: 131411
* sets bit 0 of the function address of thumb function in .symtabRafael Espindola2011-05-166-11/+37
| | | | | | | | | | ("T is 1 if the target symbol S has type STT_FUNC and the symbol addresses a Thumb instruction ;it is 0 otherwise." from "ELF for the ARM Architecture" 4.7.1.2) Patch by Koan-Sin Tan! llvm-svn: 131406
* Extra refactoring noticed by Eli Friedman.Rafael Espindola2011-05-161-9/+8
| | | | llvm-svn: 131405
* Don't do tail calls in a function that call setjmp. The stack might beRafael Espindola2011-05-163-37/+39
| | | | | | corrupted when setjmp returns again. llvm-svn: 131399
* Fix copy-pasto.Charles Davis2011-05-151-1/+1
| | | | llvm-svn: 131384
* Add stub methods to MCStreamer for emitting Win64 exception-handlingCharles Davis2011-05-151-0/+36
| | | | | | information. llvm-svn: 131382
* SimplifyCFG: Use ComputeMaskedBits to prune dead cases from switch instructions.Benjamin Kramer2011-05-141-1/+36
| | | | llvm-svn: 131345
* Avoid combining GEPs that might overflow at runtime.Stuart Hastings2011-05-141-1/+3
| | | | | | | | rdar://problem/9267970 Patch by Julien Lerouge! llvm-svn: 131339
* Fix a FIXME by moving the fast-isel implementation of the objectsize ↵Eli Friedman2011-05-142-23/+10
| | | | | | intrinsic from the x86 code to the generic code. llvm-svn: 131332
* Don't produce a vmovntdq if we don't have AVX support.Rafael Espindola2011-05-141-1/+1
| | | | llvm-svn: 131330
* Zap useless code; this hasn't done anything useful since fast-isel switched ↵Eli Friedman2011-05-141-29/+0
| | | | | | to being bottom-up (a very long time ago). llvm-svn: 131329
* Be a bit more permissive about symbols we don't understand. Just skip themJim Grosbach2011-05-131-4/+12
| | | | | | rather than throwing an error. llvm-svn: 131322
OpenPOWER on IntegriCloud