summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r66870 missed this out.Sanjiv Gupta2009-03-171-0/+1
| | | | llvm-svn: 67082
* typoGabor Greif2009-03-171-1/+1
| | | | llvm-svn: 67081
* typoGabor Greif2009-03-171-1/+1
| | | | llvm-svn: 67080
* Reapply r67049, with the test adjusted for darwinDuncan Sands2009-03-173-71/+105
| | | | | | (which produces "call L_f$stub" rather than "call f"). llvm-svn: 67079
* Fix a problem with DAGCombine where we were building an illegal buildMon P Wang2009-03-172-6/+24
| | | | | | | | vector shuffle mask. Forced the mask to be built using i32. Note: this will be irrelevant once vector_shuffle no longer takes a build vector for the shuffle mask. llvm-svn: 67076
* Initialize the cleanup.dst variable if necessary. Fixes PR3789.Anders Carlsson2009-03-172-3/+23
| | | | llvm-svn: 67075
* We want to grep the output, not the input :-)Anders Carlsson2009-03-171-1/+1
| | | | llvm-svn: 67074
* Fix unused variable warning in -Asserts mode.Daniel Dunbar2009-03-171-0/+1
| | | | llvm-svn: 67073
* Recognize bswapl as bswap too.Dan Gohman2009-03-172-2/+10
| | | | llvm-svn: 67072
* Recognize "bswapq" as an alternate spelling for the bswap instruction.Dan Gohman2009-03-172-2/+14
| | | | llvm-svn: 67071
* raw_ostream: Return '*this' explicitly (instead of implicitly viaDaniel Dunbar2009-03-171-5/+10
| | | | | | write) to expose more alias information. llvm-svn: 67070
* raw_ostream: Put all exceptional conditions in raw_ostream::writeDaniel Dunbar2009-03-171-18/+30
| | | | | | | | under a single branch. Also, add a FIXME for formatted output. llvm-svn: 67069
* Spiller may unfold load / mod / store instructions as an optimization when ↵Evan Cheng2009-03-173-9/+197
| | | | | | the would be loaded value is available in a register. It needs to check if it's legal to clobber the register. Also, the register can contain values of multiple spill slots, make sure to check all instead of just the one being unfolded. llvm-svn: 67068
* CellSPU:Scott Michel2009-03-177-497/+424
| | | | | | | | | | | | - Fix fabs, fneg for f32 and f64. - Use BuildVectorSDNode.isConstantSplat, now that the functionality exists - Continue to improve i64 constant lowering. Lower certain special constants to the constant pool when they correspond to SPU's shufb instruction's special mask values. This avoids the overhead of performing a shuffle on a zero-filled vector just to get the special constant when the memory load suffices. llvm-svn: 67067
* raw_ostream: Rework implementation of unbuffered streams so outputtingDaniel Dunbar2009-03-172-19/+30
| | | | | | | | | a single character requires only one branch to follow slow path. - Never use a buffer when writing on an unbuffered stream. - Move default buffer size to header. llvm-svn: 67066
* Fix a debug info dependency in jump threading.Dale Johannesen2009-03-171-2/+5
| | | | llvm-svn: 67064
* Handle ImplicitCastExprs when instantiating templates.Anders Carlsson2009-03-171-1/+17
| | | | llvm-svn: 67063
* Fix struct field's debug info.Devang Patel2009-03-161-3/+15
| | | | llvm-svn: 67062
* Fix a problem noticed by Anders, where we were creatingDouglas Gregor2009-03-161-1/+14
| | | | | | | | IntegerLiterals during instantiation when we should be creating either a boolean literal (CXXBoolLiteralExpr) or a character literal (CharacterLiteral). llvm-svn: 67061
* raw_ostream: Replace flush_impl with write_impl, which takes data toDaniel Dunbar2009-03-162-70/+39
| | | | | | | | | write as arguments. - Add raw_ostream::GetNumBytesInBuffer. - Privatize buffer pointers. - Get rid of slow and unnecessary code for writing out large strings. llvm-svn: 67060
* Almost complete implementation of rvalue references. One bug, and a few ↵Sebastian Redl2009-03-1631-128/+395
| | | | | | unclear areas. Maybe Doug can shed some light on some of the fixmes. llvm-svn: 67059
* Build system changes to use TableGen to generate the variousDouglas Gregor2009-03-1626-13/+71
| | | | | | | | | | | | | | | | | | diagnostics. This builds on the patch that Sebastian committed and then revert. Major differences are: - We don't remove or use the current ".def" files. Instead, for now, we just make sure that we're building the ".inc" files. - Fixed CMake makefiles to run TableGen and build the ".inc" files when needed. Tested with both the Xcode and Makefile generators provided by CMake, so it should be solid. - Fixed normal makefiles to handle out-of-source builds that involve the ".inc" files. I'll send a separate patch to the list with Sebastian's changes that eliminate the use of the .def files. llvm-svn: 67058
* raw_ostream: Lift out flush_nonempty.Daniel Dunbar2009-03-162-44/+59
| | | | | | | | | | | | | | | | | - Flush a known non-empty buffers; enforces the interface to flush_impl and kills off HandleFlush (which I saw no reason to be an inline method, Chris?). - Clarify invariant that flush_impl is only called with OutBufCur > OutBufStart. - This also cleary collects all places where we have to deal with the buffer possibly not existing. - A few more comments and fixing the unbuffered behavior remain in this commit sequence. llvm-svn: 67057
* CMake: Build system fixes for XCode. llvm-config still causes us some ↵Douglas Gregor2009-03-163-4/+4
| | | | | | serious trouble, but it's less serious than it used to be llvm-svn: 67056
* Make raw_ostream::operator<<(const void *) fast; it doesn't matter butDaniel Dunbar2009-03-161-2/+19
| | | | | | it is easy. llvm-svn: 67054
* Add slow path for single character write, and use exclusively forDaniel Dunbar2009-03-162-11/+12
| | | | | | single characters writes outside of the fast path in raw_ostream.h llvm-svn: 67053
* CMake: Make sure to build TableGen'd files in the binary directoryDouglas Gregor2009-03-161-2/+5
| | | | llvm-svn: 67052
* --- Reverse-merging (from foreign repository) r67049 into '.':Bill Wendling2009-03-163-105/+71
| | | | | | | | | | | | | | | | U test/CodeGen/X86/2009-03-13-PHIElimBug.ll D test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll U lib/CodeGen/PHIElimination.cpp r67049 was causing this failure: Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/X86/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/X86/2009-03-13-PHIElimBug.ll for PR3784 Failed with exit(1) at line 1 while running: llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/X86/2009-03-13-PHIElimBug.ll | llc -march=x86 | /usr/bin/grep -A 2 {call f} | /usr/bin/grep movl child process exited abnormally llvm-svn: 67051
* some updates, Daniel points out that this is woefully out of date.Chris Lattner2009-03-161-20/+0
| | | | llvm-svn: 67050
* Tweak the fix for PR3784: be less sensitive about justDuncan Sands2009-03-163-71/+105
| | | | | | | | | | | | | | | | | | how invokes are set up. The fix could be disturbed by register copies coming after the EH_LABEL, and also didn't behave quite right when it was the invoke result that was used in a phi node. Also (see new testcase) fix another phi elimination bug while there: register copies in the landing pad need to come after the EH_LABEL, because that's where execution branches to when unwinding. If they come before the EH_LABEL then they will never be executed... Also tweak the original testcase so it doesn't use a no-longer existing counter. The accumulated phi elimination changes fix two of seven Ada testsuite failures that turned up after landing pad critical edge splitting was turned off. So there's probably more to come. llvm-svn: 67049
* CellSPU:Scott Michel2009-03-164-149/+183
| | | | | | | Incorporate Tilmann's 128-bit operation patch. Evidently, it gets the llvm-gcc bootstrap a bit further along. llvm-svn: 67048
* simplify this code by reading the decision from LangOptions instead Chris Lattner2009-03-161-3/+4
| | | | | | of recomputing the property from command line options. llvm-svn: 67047
* change this to test for an alias result more directly.Chris Lattner2009-03-161-3/+7
| | | | llvm-svn: 67046
* Check signedness of bitfield sizes.Anders Carlsson2009-03-162-1/+3
| | | | llvm-svn: 67045
* We support static_assert.Anders Carlsson2009-03-161-0/+8
| | | | llvm-svn: 67043
* Add TGSourceMgr.cpp to CMake build, sort linesDouglas Gregor2009-03-161-2/+3
| | | | llvm-svn: 67042
* Driver: Implement majority tool binding logic.Daniel Dunbar2009-03-166-2/+229
| | | | | | | | | | | | - Still need code for determining proper output location. - Doesn't work yet, of course, as the host isn't providing real tool chains. - Interface still has a few warts, but has gotten a nice bit of polish during the rewrite. llvm-svn: 67038
* Driver: Migrate some data into the Compilation; after pipeliningDaniel Dunbar2009-03-164-20/+78
| | | | | | | | access to most data should go through the current Compilation, not the Driver (which shouldn't be specialized on variables for a single compilation). llvm-svn: 67037
* Driver: Sketch Tool and ToolChain classes.Daniel Dunbar2009-03-166-4/+211
| | | | llvm-svn: 67036
* Driver: Include Casting header definitions in a few places, addDaniel Dunbar2009-03-162-0/+17
| | | | | | Action::getInputs. llvm-svn: 67035
* This causes incorrect stack frame allocation when the last object is an ↵Bruno Cardoso Lopes2009-03-151-1/+1
| | | | | | | | array allocated on the stack which would lead the compiled program to run over its stack. Thanks to Gil Dogon llvm-svn: 67034
* Parser support for rvalue references.Sebastian Redl2009-03-153-5/+18
| | | | llvm-svn: 67033
* (Hopefully) instantiate dependent array types correctly.Anders Carlsson2009-03-153-3/+52
| | | | llvm-svn: 67032
* Handle static_asserts when instantiating structs.Anders Carlsson2009-03-158-18/+43
| | | | llvm-svn: 67031
* Add the ability to clone integer and string literals. Use it when ↵Anders Carlsson2009-03-154-8/+27
| | | | | | instantiating template expressions. llvm-svn: 67030
* Convert a bunch of actions to smart pointers, and also bring ↵Sebastian Redl2009-03-1513-399/+614
| | | | | | PrintParserCallbacks a bit more in line with reality. llvm-svn: 67029
* Fix bitfield-instantiation ownership bug noticed by AndersDouglas Gregor2009-03-151-2/+1
| | | | llvm-svn: 67028
* Make sure to release the expressions.Anders Carlsson2009-03-151-0/+2
| | | | llvm-svn: 67027
* Keep diagnostic td in sync with r67015.Sebastian Redl2009-03-151-0/+2
| | | | llvm-svn: 67026
* Simplify. "Broken" is always true here.Nick Lewycky2009-03-151-1/+1
| | | | llvm-svn: 67025
OpenPOWER on IntegriCloud