Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | revert r108320, I see the failures now... | Chris Lattner | 2010-07-14 | 2 | -21/+0 |
| | | | | llvm-svn: 108322 | ||||
* | reapply benjamin's instcombine patch, I don't see anything wrong with it and ↵ | Chris Lattner | 2010-07-14 | 2 | -0/+21 |
| | | | | | | can't repro any problems with a manual self-host. llvm-svn: 108320 | ||||
* | Re-enable the test with fix. | Evan Cheng | 2010-07-14 | 1 | -3/+2 |
| | | | | llvm-svn: 108319 | ||||
* | Add test case that was causing an infinite loop when reading PCH files. The ↵ | Douglas Gregor | 2010-07-14 | 1 | -0/+4 |
| | | | | | | test works with ToT Clang already llvm-svn: 108318 | ||||
* | Remove a few mangling FIXMEs: | John McCall | 2010-07-14 | 1 | -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 implement | John McCall | 2010-07-14 | 1 | -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 Ingham | 2010-07-14 | 1 | -4/+33 |
| | | | | | | run this time around. llvm-svn: 108312 | ||||
* | Stepping through a trampoline should do "stop others" unless All Threads is ↵ | Jim Ingham | 2010-07-14 | 1 | -1/+4 |
| | | | | | | requested. llvm-svn: 108311 | ||||
* | temporarily disable to test to fix buildbots. | Chris Lattner | 2010-07-14 | 1 | -2/+3 |
| | | | | llvm-svn: 108310 | ||||
* | fix a bug found by a warning I added to clang this morning. | Chris Lattner | 2010-07-14 | 1 | -1/+1 |
| | | | | llvm-svn: 108309 | ||||
* | Teach ProcessImplicitDefs to transform more COPY instructions into ↵ | Evan Cheng | 2010-07-14 | 4 | -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 Wilson | 2010-07-14 | 2 | -0/+41 |
| | | | | | | Radar 7373643. llvm-svn: 108303 | ||||
* | Don't propagate debug locations to instructions for materializing | Dan Gohman | 2010-07-14 | 3 | -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 Clayton | 2010-07-14 | 1 | -10/+8 |
| | | | | llvm-svn: 108300 | ||||
* | I enabled some extra warnings for hidden local variables and for hidden | Greg Clayton | 2010-07-14 | 28 | -83/+84 |
| | | | | | | virtual functions and caught some things and did some general code cleanup. llvm-svn: 108299 | ||||
* | Fix typo in test program | Douglas Gregor | 2010-07-14 | 1 | -1/+1 |
| | | | | llvm-svn: 108298 | ||||
* | Driver/Darwin: Pass -pie/-no_pie to the linker when -fpie/-fno-pie and friends | Daniel Dunbar | 2010-07-13 | 5 | -2/+44 |
| | | | | | | are explicitly given. llvm-svn: 108297 | ||||
* | Add missing testcases for lvalue bitcasts | Douglas Gregor | 2010-07-13 | 1 | -0/+114 |
| | | | | llvm-svn: 108296 | ||||
* | Work around an obnoxious GCC warning by changing semantics in a hopefully- | John McCall | 2010-07-13 | 2 | -8/+15 |
| | | | | | | harmless way. llvm-svn: 108295 | ||||
* | Introduce a new cast kind for an "lvalue bitcast", which handles | Douglas Gregor | 2010-07-13 | 8 | -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 Wilson | 2010-07-13 | 1 | -376/+0 |
| | | | | llvm-svn: 108293 | ||||
* | Combine 32 and 64 bit ELF readers. | Stephen Wilson | 2010-07-13 | 7 | -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 Lewycky | 2010-07-13 | 1 | -0/+1 |
| | | | | llvm-svn: 108290 | ||||
* | Removed unused variable "log". | Greg Clayton | 2010-07-13 | 3 | -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 McCall | 2010-07-13 | 1 | -6/+12 |
| | | | | llvm-svn: 108288 | ||||
* | Allow for the possibility that __cxa_end_catch might throw for a catch-all block | John McCall | 2010-07-13 | 4 | -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 testcases | Bruno Cardoso Lopes | 2010-07-13 | 3 | -0/+458 |
| | | | | llvm-svn: 108286 | ||||
* | Updated to latest llvm from July 13th, 2010 at 13:00. | Greg Clayton | 2010-07-13 | 2 | -2/+2 |
| | | | | llvm-svn: 108285 | ||||
* | Check on property attributes which are declared | Fariborz Jahanian | 2010-07-13 | 2 | -11/+21 |
| | | | | | | in class extensions (radar 8171968). llvm-svn: 108283 | ||||
* | Bracket expressions are working (lightly tested). | Howard Hinnant | 2010-07-13 | 2 | -50/+425 |
| | | | | llvm-svn: 108280 | ||||
* | "expr -i" now performs the required transforms to | Sean Callanan | 2010-07-13 | 6 | -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 Olesen | 2010-07-13 | 1 | -4/+0 |
| | | | | llvm-svn: 108278 | ||||
* | Print VNInfo flags. | Jakob Stoklund Olesen | 2010-07-13 | 1 | -0/+4 |
| | | | | llvm-svn: 108277 | ||||
* | Switch the __cxa_free_exception cleanup to be lazy. | John McCall | 2010-07-13 | 2 | -19/+32 |
| | | | | llvm-svn: 108276 | ||||
* | Use a target-specific VMOVIMM DAG node instead of BUILD_VECTOR to represent | Bob Wilson | 2010-07-13 | 4 | -193/+79 |
| | | | | | | NEON VMOV-immediate instructions. This simplifies some things. llvm-svn: 108275 | ||||
* | AVX 256-bit conversion instructions | Bruno Cardoso Lopes | 2010-07-13 | 6 | -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 need | Fariborz Jahanian | 2010-07-13 | 2 | -5/+1 |
| | | | | | | | to set that of VarDecl for block variables (they are already set). Per Doug's comment. llvm-svn: 108273 | ||||
* | Update comment. | Evan Cheng | 2010-07-13 | 1 | -1/+1 |
| | | | | llvm-svn: 108272 | ||||
* | Removed Xcode project files that aren't needed right now. | Greg Clayton | 2010-07-13 | 2 | -67/+0 |
| | | | | llvm-svn: 108271 | ||||
* | Teach IR generation how to lazily emit cleanups. This has a lot of advantages, | John McCall | 2010-07-13 | 12 | -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 Johannesen | 2010-07-13 | 2 | -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 Redl | 2010-07-13 | 1 | -0/+10 |
| | | | | llvm-svn: 108267 | ||||
* | More block instantiation stuff. Set variable/param DeclContext | Fariborz Jahanian | 2010-07-13 | 4 | -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 Enderby | 2010-07-13 | 1 | -0/+2 |
| | | | | llvm-svn: 108265 | ||||
* | Add an assertion to make PR7542 fail consistently. | Jakob Stoklund Olesen | 2010-07-13 | 1 | -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 specific | Dan Gohman | 2010-07-13 | 1 | -0/+2 |
| | | | | | | construct is the named metadata. llvm-svn: 108263 | ||||
* | Add support for empty named metadata too. This isn't particularly | Dan Gohman | 2010-07-13 | 2 | -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 Olesen | 2010-07-13 | 1 | -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 Lattner | 2010-07-13 | 9 | -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 Gohman | 2010-07-13 | 4 | -4/+11 |
| | | | | llvm-svn: 108259 |