summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* revert r108320, I see the failures now...Chris Lattner2010-07-142-21/+0
| | | | llvm-svn: 108322
* reapply benjamin's instcombine patch, I don't see anything wrong with it and ↵Chris Lattner2010-07-142-0/+21
| | | | | | can't repro any problems with a manual self-host. llvm-svn: 108320
* Re-enable the test with fix.Evan Cheng2010-07-141-3/+2
| | | | llvm-svn: 108319
* Add test case that was causing an infinite loop when reading PCH files. The ↵Douglas Gregor2010-07-141-0/+4
| | | | | | test works with ToT Clang already llvm-svn: 108318
* Remove a few mangling FIXMEs:John McCall2010-07-141-5/+0
| | | | | | | | - TSTs whose template is a template template parameter already work - we don't provide an imaginary type, so we can't mangle one - we don't need a generic FIXME for vendor type qualifiers llvm-svn: 108317
* Implement the standard mangling for array-subscript expressions, and implementJohn McCall2010-07-141-15/+180
| | | | | | | the current proposals from David Vandervoorde for new, delete, throw, typeid, imaginary literals, string literals, and null literals. llvm-svn: 108315
* Don't call PrepareForResume on threads that aren't going to get a chance to ↵Jim Ingham2010-07-141-4/+33
| | | | | | run this time around. llvm-svn: 108312
* Stepping through a trampoline should do "stop others" unless All Threads is ↵Jim Ingham2010-07-141-1/+4
| | | | | | requested. llvm-svn: 108311
* temporarily disable to test to fix buildbots.Chris Lattner2010-07-141-2/+3
| | | | llvm-svn: 108310
* fix a bug found by a warning I added to clang this morning.Chris Lattner2010-07-141-1/+1
| | | | llvm-svn: 108309
* Teach ProcessImplicitDefs to transform more COPY instructions into ↵Evan Cheng2010-07-144-22/+47
| | | | | | IMPLICIT_DEF (and subsequently eliminate them). This allows machine LICM to hoist IMPLICIT_DEF's. PR7620. llvm-svn: 108304
* Add an ARM-specific DAG combining to avoid redundant VDUPLANE nodes.Bob Wilson2010-07-142-0/+41
| | | | | | Radar 7373643. llvm-svn: 108303
* Don't propagate debug locations to instructions for materializingDan Gohman2010-07-143-9/+17
| | | | | | | constants, since they may not be emited near the other instructions which get the same line, and this confuses debug info. llvm-svn: 108302
* Fixed Xcode project to deal with recent ELF plug-in changes.Greg Clayton2010-07-141-10/+8
| | | | llvm-svn: 108300
* I enabled some extra warnings for hidden local variables and for hiddenGreg Clayton2010-07-1428-83/+84
| | | | | | virtual functions and caught some things and did some general code cleanup. llvm-svn: 108299
* Fix typo in test programDouglas Gregor2010-07-141-1/+1
| | | | llvm-svn: 108298
* Driver/Darwin: Pass -pie/-no_pie to the linker when -fpie/-fno-pie and friendsDaniel Dunbar2010-07-135-2/+44
| | | | | | are explicitly given. llvm-svn: 108297
* Add missing testcases for lvalue bitcastsDouglas Gregor2010-07-131-0/+114
| | | | llvm-svn: 108296
* Work around an obnoxious GCC warning by changing semantics in a hopefully-John McCall2010-07-132-8/+15
| | | | | | harmless way. llvm-svn: 108295
* Introduce a new cast kind for an "lvalue bitcast", which handlesDouglas Gregor2010-07-138-3/+29
| | | | | | | | | | | | | | | | reinterpret_casts (possibly indirectly via C-style/functional casts) on values, e.g., int i; reinterpret_cast<short&>(i); The IR generated for this is essentially the same as for *reinterpret_cast<short*>(&i). Fixes PR6437, PR7593, and PR7344. llvm-svn: 108294
* Remove our local ELF definitions and rely on llvm/Support/ELF.h instead.Stephen Wilson2010-07-131-376/+0
| | | | llvm-svn: 108293
* Combine 32 and 64 bit ELF readers.Stephen Wilson2010-07-137-1719/+1203
| | | | | | | This patch provides a generic ELF reader plugin to handle both 32 and 64 bit formats. llvm-svn: 108292
* Add __builtin_snprintf.Nick Lewycky2010-07-131-0/+1
| | | | llvm-svn: 108290
* Removed unused variable "log".Greg Clayton2010-07-133-4/+6
| | | | | | | Fixed the llvm build for Mac OS X builds to look in llvm/lib/Release+Asserts output directory for all configurations (Debug, Release, BuildAndIntegration). llvm-svn: 108289
* Switch the __cxa_rethrow cleanup to be lazy.John McCall2010-07-131-6/+12
| | | | llvm-svn: 108288
* Allow for the possibility that __cxa_end_catch might throw for a catch-all blockJohn McCall2010-07-134-24/+116
| | | | | | | or a catch of a record type by value or reference. Also convert this to a lazy cleanup. llvm-svn: 108287
* Add AVX 256-bit compare instructions and a bunch of testcasesBruno Cardoso Lopes2010-07-133-0/+458
| | | | llvm-svn: 108286
* Updated to latest llvm from July 13th, 2010 at 13:00.Greg Clayton2010-07-132-2/+2
| | | | llvm-svn: 108285
* Check on property attributes which are declaredFariborz Jahanian2010-07-132-11/+21
| | | | | | in class extensions (radar 8171968). llvm-svn: 108283
* Bracket expressions are working (lightly tested).Howard Hinnant2010-07-132-50/+425
| | | | llvm-svn: 108280
* "expr -i" now performs the required transforms toSean Callanan2010-07-136-30/+359
| | | | | | | | prepare the IR for JIT compilation. We still need to do the JIT compilation and move the arguments in/out of target memory. llvm-svn: 108279
* Remove vestigial decl.Jakob Stoklund Olesen2010-07-131-4/+0
| | | | llvm-svn: 108278
* Print VNInfo flags.Jakob Stoklund Olesen2010-07-131-0/+4
| | | | llvm-svn: 108277
* Switch the __cxa_free_exception cleanup to be lazy.John McCall2010-07-132-19/+32
| | | | llvm-svn: 108276
* Use a target-specific VMOVIMM DAG node instead of BUILD_VECTOR to representBob Wilson2010-07-134-193/+79
| | | | | | NEON VMOV-immediate instructions. This simplifies some things. llvm-svn: 108275
* AVX 256-bit conversion instructionsBruno Cardoso Lopes2010-07-136-15/+313
| | | | | | Add the x86 VEX_L form to handle special cases where VEX_L must be set. llvm-svn: 108274
* Set DeclContext of ParamVarDecl only. No needFariborz Jahanian2010-07-132-5/+1
| | | | | | | to set that of VarDecl for block variables (they are already set). Per Doug's comment. llvm-svn: 108273
* Update comment.Evan Cheng2010-07-131-1/+1
| | | | llvm-svn: 108272
* Removed Xcode project files that aren't needed right now.Greg Clayton2010-07-132-67/+0
| | | | llvm-svn: 108271
* Teach IR generation how to lazily emit cleanups. This has a lot of advantages,John McCall2010-07-1312-94/+469
| | | | | | | | | | | | | | | mostly in avoiding unnecessary work at compile time but also in producing more sensible block orderings. Move the destructor cleanups for local variables over to use lazy cleanups. Eventually all cleanups will do this; for now we have some awkward code duplication. Tell IR generation just to never produce landing pads in -fno-exceptions. This is a much more comprehensive solution to a problem which previously was half-solved by checks in most cleanup-generation spots. llvm-svn: 108270
* In inline asm treat indirect 'X' constraint as 'm'.Dale Johannesen2010-07-132-3/+23
| | | | | | | This may not be right in all cases, but it's better than asserting which it was doing before. PR 7528. llvm-svn: 108268
* Add two small utility functions to PCHReader that the writer will use. WIP.Sebastian Redl2010-07-131-0/+10
| | | | llvm-svn: 108267
* More block instantiation stuff. Set variable/param DeclContextFariborz Jahanian2010-07-134-4/+33
| | | | | | to block context when first instantiating them. llvm-svn: 108266
* Added a check that pusha cannot be encoded in 64-bit mode.Kevin Enderby2010-07-131-0/+2
| | | | llvm-svn: 108265
* Add an assertion to make PR7542 fail consistently.Jakob Stoklund Olesen2010-07-131-0/+1
| | | | | | | | | | LiveInterval::overlapsFrom dereferences end() if it is called on an empty interval. It would be reasonable to just return false - an empty interval doesn't overlap anything, but I want to know who is doing it first. llvm-svn: 108264
* Fix the Named Metadata example to make it clear which specificDan Gohman2010-07-131-0/+2
| | | | | | construct is the named metadata. llvm-svn: 108263
* Add support for empty named metadata too. This isn't particularlyDan Gohman2010-07-132-12/+14
| | | | | | useful, but it is nice for consistency. llvm-svn: 108262
* Fix LiveInterval::overlaps so it doesn't claim touching intervals overlap.Jakob Stoklund Olesen2010-07-131-10/+2
| | | | | | Also, one binary search is enough. llvm-svn: 108261
* Add a warning to catch a bug recently caught by code review, like this:Chris Lattner2010-07-139-10/+35
| | | | | | | | | | | t2.c:2:12: warning: use of logical && with constant operand; switch to bitwise & or remove constant [-Wlogical-bitwise-confusion] return x && 4; ^ ~ wording improvement suggestions are welcome. llvm-svn: 108260
* Add support for empty metadata nodes: !{}.Dan Gohman2010-07-134-4/+11
| | | | llvm-svn: 108259
OpenPOWER on IntegriCloud