- Jul 16, 2010
-
-
Devang Patel authored
Set "optimization is ON" and supply other optional parameters. This helps codegenerator preserve info in case the symbol is deleted. llvm-svn: 108471
-
Douglas Gregor authored
with always_inline attribute. Thanks to Howard for the tip. llvm-svn: 108469
-
Devang Patel authored
Tested by namespace.exp and virtfunc.exp from gdb testsuite. llvm-svn: 108468
-
- Jul 15, 2010
-
-
John McCall authored
for string literals. llvm-svn: 108464
-
Douglas Gregor authored
with the proper spelling of "non-class prvalue". Silly me, I think class rvalues were xvalues rather than prvalues! Hah hah hah. llvm-svn: 108443
-
Douglas Gregor authored
broke nightlytest. llvm-svn: 108439
-
Devang Patel authored
This is not required (I am not 100% sure why) but method.exp from gdb testsuite flagged regression due to this patch. llvm-svn: 108434
-
Douglas Gregor authored
llvm-svn: 108433
-
Douglas Gregor authored
that involve binding a reference to a pure rvalue temporary (e.g., not a class temporary), by creating a new temporary and copying the result there. Fixes PR6024. llvm-svn: 108431
-
Douglas Gregor authored
llvm-svn: 108428
-
Daniel Dunbar authored
llvm-svn: 108423
-
Daniel Dunbar authored
whether to use objc_msgSend_fpret; the choice is target dependent, not Obj-C ABI dependent. - <rdar://problem/8139758> arm objc _objc_msgSend_fpret bug llvm-svn: 108379
-
- Jul 14, 2010
-
-
Douglas Gregor authored
llvm-svn: 108363
-
John McCall authored
follow <name>; instead they follow <type>, which has <name> as a subset. Fixes PR7446. llvm-svn: 108326
-
John McCall authored
- 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
-
John McCall authored
the current proposals from David Vandervoorde for new, delete, throw, typeid, imaginary literals, string literals, and null literals. llvm-svn: 108315
-
John McCall authored
harmless way. llvm-svn: 108295
-
Douglas Gregor authored
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
-
John McCall authored
llvm-svn: 108288
-
John McCall authored
or a catch of a record type by value or reference. Also convert this to a lazy cleanup. llvm-svn: 108287
-
- Jul 13, 2010
-
-
John McCall authored
llvm-svn: 108276
-
John McCall authored
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
-
Douglas Gregor authored
(e.g., a call, cast, etc.), immediately adjust the expression's type to strip cv-qualifiers off of all non-class types (in C++) or all types (in C). This effectively extends my previous fix for PR7463, which was restricted to calls, to other kinds of expressions within similar characteristics. I've audited every use of getNonReferenceType() in the code base, switching to the newly-renamed getNonLValueExprType() where necessary. Big thanks to Eli for pointing out just how incomplete my original fix for PR7463 actually was. We've been handling cv-qualifiers on rvalues wrong for a very, very long time. Fixes PR7463. llvm-svn: 108253
-
Devang Patel authored
llvm-svn: 108245
-
Douglas Gregor authored
at -O0. The only change from the previous patch is that we don't try to generate virtual method thunks for an available_externally function. llvm-svn: 108230
-
Devang Patel authored
llvm-svn: 108220
-
Devang Patel authored
While collecting members for a class, always create delcaration entry for methods. Debug info for method definition will be generated while generating code for method body. Tested by classes.exp in gdb testsuite. llvm-svn: 108205
-
- Jul 12, 2010
-
-
Douglas Gregor authored
llvm-svn: 108194
-
Douglas Gregor authored
-O0, since we won't be using the definitions for anything anyway. For lib/System/Path.o when built in Debug+Asserts mode, this leads to a 4% improvement in compile time (and suppresses 440 function bodies). <rdar://problem/7987644> llvm-svn: 108156
-
- Jul 08, 2010
-
-
Devang Patel authored
Patch by Alexander Kabaev. PR 7595. llvm-svn: 107900
-
John McCall authored
as well. llvm-svn: 107858
-
Douglas Gregor authored
suppressing copies of objects with trivial copy constructors. llvm-svn: 107857
-
Chris Lattner authored
was not producing a memcpy with the right address spaces because of two places in it doing casts of the arguments to i8, one of which that didn't preserve the address space. There is also an optimizer bug here. llvm-svn: 107842
-
Douglas Gregor authored
breaking bootstrap on Linux. llvm-svn: 107837
-
Douglas Gregor authored
newly-narrowed scope. No functionality change. llvm-svn: 107828
-
Douglas Gregor authored
CXXConstructExpr/CXXTemporaryObjectExpr/CXXNewExpr as appropriate. Fixes PR7556, and provides a slide codegen improvement when copy-initializing a POD class type from a value-initialized temporary. Previously, we weren't eliding the copy. llvm-svn: 107827
-
- Jul 07, 2010
-
-
Chris Lattner authored
from PR7583 llvm-svn: 107788
-
Argyrios Kyrtzidis authored
llvm-svn: 107773
-
Argyrios Kyrtzidis authored
Introduce Decl::hasBody() and FunctionDecl::hasBody() and use them instead of getBody() when we are just checking the existence of a body, to avoid de-serialization of the body from PCH. Makes de-serialization of the function body even more "lazier". llvm-svn: 107768
-
John McCall authored
rethrow. Fixes rdar://problem/7696603 llvm-svn: 107757
-