summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Drop lli, revise test.Stuart Hastings2011-05-171-2/+3
| | | | llvm-svn: 131452
* Back out r131444 and r131438; they're breaking nightly tests. I'll look intoEli Friedman2011-05-173-47/+50
| | | | | | it more tomorrow. llvm-svn: 131451
* Fix test.Eli Friedman2011-05-171-1/+3
| | | | llvm-svn: 131444
* Add target triple so test doesn't fail on Windows machines.Evan Cheng2011-05-171-1/+1
| | | | llvm-svn: 131439
* Add x86 fast-isel for calls returning first-class aggregates. rdar://9435872.Eli Friedman2011-05-172-49/+44
| | | | 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-164-18/+8
| | | | | | | | | | | | 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-163-9/+7
| | | | 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-162-15/+14
| | | | 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-162-0/+7
| | | | | | self-host :). llvm-svn: 131421
* Make fast-isel work correctly s/uadd.with.overflow intrinsics.Eli Friedman2011-05-164-84/+37
| | | | 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-163-0/+70
| | | | | | clang generates for cases like this, but it should become more useful soon. llvm-svn: 131417
* Fix errors in this llvm ir example.Nick Lewycky2011-05-161-7/+7
| | | | llvm-svn: 131416
* 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-168-12/+59
| | | | | | | | | | ("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
* Remove redundant template partial specilization.Zhongxing Xu2011-05-161-8/+1
| | | | llvm-svn: 131402
* Don't do tail calls in a function that call setjmp. The stack might beRafael Espindola2011-05-165-37/+59
| | | | | | 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-152-0/+44
| | | | | | information. llvm-svn: 131382
* Get rid of extern "C" from the Win64 EH header.Charles Davis2011-05-151-4/+0
| | | | llvm-svn: 131381
* Add a header containing definitions used to implement Win64 exception handling.Charles Davis2011-05-151-0/+100
| | | | llvm-svn: 131380
* Declare this function here so that it doesn't get C++ mangling.Nick Lewycky2011-05-151-0/+2
| | | | llvm-svn: 131379
* Disable test harder.Benjamin Kramer2011-05-141-1/+2
| | | | llvm-svn: 131363
* Disable this test while I revise it. rdar://problem/9267970Stuart Hastings2011-05-141-1/+1
| | | | llvm-svn: 131350
* SimplifyCFG: Use ComputeMaskedBits to prune dead cases from switch instructions.Benjamin Kramer2011-05-142-1/+74
| | | | llvm-svn: 131345
* Avoid combining GEPs that might overflow at runtime.Stuart Hastings2011-05-142-1/+22
| | | | | | | | 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-142-1/+13
| | | | 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
* Add an operator+= for appending StringRefs onto std::strings.John McCall2011-05-131-0/+4
| | | | | | | Previously this pattern would be compiled using an implicit conversion to std::string. llvm-svn: 131325
* 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
* ExecutionEngine: move createJIT() definition (v2)Dylan Noblesmith2011-05-132-19/+29
| | | | | | | As an ExecutionEngine class function, its definition really belongs in ExecutionEngine.cpp, not JIT.cpp. llvm-svn: 131320
* ExecutionEngine: push TargetMachine creation into clients (v2)Dylan Noblesmith2011-05-136-66/+30
| | | | | | | | In particular, into EngineBuilder. This should only impact the private API between the EE and EB classes, not external clients, since JITCtor and MCJITCtor are both protected members. llvm-svn: 131317
* ExecutionEngine: fix JIT/MCJIT selectTarget() duplication (v2)Dylan Noblesmith2011-05-1310-117/+26
| | | | | | | This prepares for making JITCtor/MCJITCtor take a TargetMachine* directly from clients like EngineBuilder. llvm-svn: 131316
* Move test.Rafael Espindola2011-05-131-0/+0
| | | | llvm-svn: 131315
OpenPOWER on IntegriCloud