- Jun 17, 2011
-
-
-
Douglas Gregor authored
llvm-svn: 133263
-
Eric Christopher authored
llvm-svn: 133262
-
Douglas Gregor authored
separate aggregate temporary and then memcpy it over to the destination. This fixes a regression I introduced with r133235, where the compound literal on the RHS of an assignment makes use of the structure on the LHS of the assignment. I'm deeply suspicious of AggExprEmitter::VisitBinAssign()'s optimization where it emits the RHS of an aggregate assignment directly into the LHS lvalue without checking whether there is any aliasing between the LHS/RHS. However, I'm not in a position to revisit this now. Big thanks to Eli for finding the regression! llvm-svn: 133261
-
Roman Divacky authored
llvm-svn: 133260
-
Douglas Gregor authored
llvm-svn: 133257
-
Rafael Espindola authored
llvm-svn: 133256
-
Rafael Espindola authored
* We should change the generated code because of a debug use. * Avoid creating debug uses of undef, as they become a kill. Test to follow. llvm-svn: 133255
-
Jay Foad authored
llvm-svn: 133254
-
Justin Holewinski authored
* rounding modes for fp add, mul, sub now use .rn * float -> int rounding correctly uses .rzi not .rni * 32bit fdiv for sm13 uses div.rn (instead of div.approx) * 32bit fdiv for sm10 now uses div (instead of div.approx) Approx is not IEEE 754 compatible (and should be optionally set by a flag to the backend instead). The .rn rounding modifier is the PTX default anyway, but it's better to be explicit. All these modifiers should be available by using __fmul_rz functions for example, but support will need to be added for this in the backend. Patch by Dan Bailey llvm-svn: 133253
-
NAKAMURA Takumi authored
config.cache will be used by the person who specifies '-C' to configure. config.cache's inconsistency should be responsible to him. Re-configuration would spend so much on cygming without '-C', esp. cygwin. llvm-svn: 133252
-
Nick Lewycky authored
llvm-svn: 133251
-
John McCall authored
static initializer check, as required by the Itanium ABI. llvm-svn: 133250
-
Lang Hames authored
Add a hook for PBQP clients to run a custom pre-alloc pass to run prior to PBQP allocation. Patch by Arnaud Allard de Grandmaison. llvm-svn: 133249
-
Chris Lattner authored
needed since llvm-gcc 3.4 days. llvm-svn: 133248
-
Chris Lattner authored
remove asmparser support for the old getresult instruction, which has been subsumed by extractvalue. llvm-svn: 133247
-
John McCall authored
llvm-svn: 133246
-
Chris Lattner authored
was replaced with return of a "first class aggregate". llvm-svn: 133245
-
Chris Lattner authored
llvm-svn: 133244
-
John McCall authored
they should still be officially __strong for the purposes of errors, block capture, etc. Make a new bit on variables, isARCPseudoStrong(), and set this for 'self' and these enumeration-loop variables. Change the code that was looking for the old patterns to look for this bit, and change IR generation to find this bit and treat the resulting variable as __unsafe_unretained for the purposes of init/destroy in the two places it can come up. llvm-svn: 133243
-
Chris Lattner authored
syntax and has been long obsolete. As usual, updating the tests is the nasty part of this. llvm-svn: 133242
-
Eric Christopher authored
#define. llvm-svn: 133241
-
Rafael Espindola authored
be made, but this is already a win. llvm-svn: 133240
-
Douglas Gregor authored
[temp.deduct.call]p4 to the deduction performed for 'auto', finishing the fix for PR9233. llvm-svn: 133239
-
Eric Christopher authored
llvm-svn: 133238
-
Douglas Gregor authored
argument type for C++ [temp.deduct.call]p4 out of Sema::FinishTemplateArgumentDeduction(). No functionality change. llvm-svn: 133237
-
Douglas Gregor authored
storage specifier is different from the storage specifier on the template. If that storage specifier is the same, then we only warn. Thanks to John for the prodding. llvm-svn: 133236
-
Douglas Gregor authored
C++, which means: - binding the temporary as needed in Sema, so that we generate the appropriate call to the destructor, and - emitting the compound literal into the appropriate location for the aggregate, rather than trying to emit it as a temporary and memcpy() it. Fixes PR10138 / <rdar://problem/9615901>. llvm-svn: 133235
-
Jakob Stoklund Olesen authored
The reserved R14-R15 are always saved in the prolog, and using CSRs starting from R13 allows them to be saved in one instruction. Thanks to Anton for explaining this. llvm-svn: 133233
-
Douglas Gregor authored
specifier on an explicit specialization to a warning, since neither EDG nor GCC diagnose this code as ill-formed. llvm-svn: 133232
-
Greg Clayton authored
libraries and headers exist. This can be specified using the platform select function: platform select --sysroot /Volumes/remote-root remote-macosx Each platform subclass is free to interpret the sysroot as needed. Expose the new SDK root directory through the SBDebugger class. Fixed an issue with the GDB remote protocol where unimplemented packets were not being handled correctly. llvm-svn: 133231
-
Johnny Chen authored
llvm-svn: 133230
-
Chris Lattner authored
the old malloc/free instructions, and for 'sext' and 'zext' as function attributes (they are spelled signext/zeroext now), and support for result value attributes being specified after a function. Additionally, diagnose invalid attributes on functions with an error message instead of an abort in the verifier. llvm-svn: 133229
-
Chris Lattner authored
are either unreduced or only test old syntax. llvm-svn: 133228
-
Cameron Zwarich authored
tail call pseudoinstruction. This fixes <rdar://problem/9624333>. llvm-svn: 133227
-
Eric Christopher authored
register constraint. Note that we're not checking if the register itself is valid for the constraint. Fixes rdar://9382985 llvm-svn: 133226
-
Eric Christopher authored
Part of rdar://9197685 llvm-svn: 133225
-
Greg Clayton authored
darwin (not sure about other platforms). Modified the communication and connection classes to not require the BytesAvailable function. Now the "Read(...)" function has a timeout in microseconds. Fixed a lot of assertions that were firing off in certain cases and replaced them with error output and code that can deal with the assertion case. llvm-svn: 133224
-
Johnny Chen authored
Add a test case for the SBTarget::AttachToProcessWithID() API call. o main.c: The change goes with the added test case test_with_dwarf_and_attach_to_process_with_id_api() above. o SBTarget.cpp: Checks whether we're in synchronous mode. If yes, let's wait for the process to stop right after attaching. llvm-svn: 133223
-
Eric Christopher authored
constraints. rdar://9618597 llvm-svn: 133222
-