- Oct 05, 2012
-
-
Eli Friedman authored
PR14029, clang part. llvm-svn: 165289
-
Richard Smith authored
- outside C++, return undef (behavior is not undefined unless the value is used) - in C++, with -fcatch-undefined-behavior, perform an appropriate trap - in C++, produce an 'unreachable' (behavior is undefined immediately) llvm-svn: 165273
-
- Oct 04, 2012
-
-
Lang Hames authored
up being contracted during codegen. llvm-svn: 165197
-
- Oct 03, 2012
-
-
Benjamin Kramer authored
false is used as a baseline here, we may want to allow contraction in some of the cases. Found by valgrind. llvm-svn: 165156
-
Bill Schmidt authored
Most of the pieces for this were already in place, but a proper EmitVAArg is needed for aggregates and complex numbers to be handled. Although the va_list for 64-bit PowerPC SVR4 consists of GPRs 3 through 10 together with the overflow portion of the parameter save area, we can treat va_list as pointing to contiguous memory for all parameters, since the back end forces the parameter GPRs to memory for varargs functions. There is no need at this time to model parameters and return values beyond what the DefaultABIInfo provides. llvm-svn: 165143
-
Jordan Rose authored
Then, rename it getPointeeCXXRecordDecl and give it a nice doc comment, and actually use it. No intended functionality change. llvm-svn: 165077
-
- Oct 02, 2012
-
-
Lang Hames authored
Clang will now honor the FP_CONTRACT pragma and emit LLVM fmuladd intrinsics for expressions of the form A * B + C (when they occur in a single statement). llvm-svn: 164989
-
- Sep 30, 2012
-
-
Benjamin Kramer authored
CodeGen: Copy tail padding when we're not dealing with a trivial copy assign or move assign operator. This fixes a regression from r162254, the optimizer has problems reasoning about the smaller memcpy as it's often not safe to widen a store but making it smaller is. llvm-svn: 164917
-
Bob Wilson authored
llvm-svn: 164907
-
Bob Wilson authored
llvm-svn: 164904
-
- Sep 29, 2012
-
-
Richard Smith authored
observe their addresses (taking their address gives the vtable slot) so we are free to merge their definitions. llvm-svn: 164864
-
- Sep 28, 2012
-
-
Dan Gohman authored
struct assignment. llvm-svn: 164853
-
- Sep 27, 2012
-
-
Sylvestre Ledru authored
Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164766 llvm-svn: 164769
-
Sylvestre Ledru authored
llvm-svn: 164766
-
- Sep 26, 2012
-
-
Bill Wendling authored
llvm-svn: 164726
-
Nico Weber authored
llvm-svn: 164660
-
- Sep 25, 2012
-
-
John McCall authored
be sure to delete the complete object pointer, not the original pointer. This is necessary if the base being deleted is at a non-zero offset in the complete object. This is only required for objects with virtual destructors because deleting an object via a base-class subobject when the base does not have a virtual destructor is undefined behavior. Noticed while reviewing the last four years of cxx-abi-dev activity. llvm-svn: 164597
-
John McCall authored
llvm-svn: 164592
-
John McCall authored
into the enclosing scope; this is a more accurate model but is (I believe) unnecessary in my test case due to other flaws. However, one of those flaws is now intentional: blocks which appear in return statements can be trivially observed to not extend in lifetime past the return, and so we can allow a jump past them. Do the necessary magic in IR-generation to make this work. llvm-svn: 164589
-
- Sep 22, 2012
-
-
Eric Christopher authored
that the backend can mark it as the representative pointer for the block. rdar://12001329 llvm-svn: 164418
-
- Sep 21, 2012
-
-
Rafael Espindola authored
attributes like uwtable. Without uwtable a stack unwinder would be unable to go past the thunks. llvm-svn: 164411
-
Bill Wendling authored
llvm-svn: 164374
-
Jim Grosbach authored
The expression based expansion too often results in IR level optimizations splitting the intermediate values into separate basic blocks, preventing the formation of the VBSL instruction as the code author intended. In particular, LICM would often hoist part of the computation out of a loop. rdar://11011471 llvm-svn: 164342
-
Jim Grosbach authored
llvm-svn: 164341
-
- Sep 20, 2012
-
-
Eric Christopher authored
llvm-svn: 164260
-
Eric Christopher authored
llvm-svn: 164254
-
- Sep 19, 2012
-
-
Eric Christopher authored
llvm-svn: 164253
-
Eric Christopher authored
llvm-svn: 164252
-
Benjamin Kramer authored
llvm-svn: 164218
-
- Sep 15, 2012
-
-
Dmitri Gribenko authored
llvm-svn: 163983
-
Craig Topper authored
llvm-svn: 163980
-
- Sep 14, 2012
-
-
Eli Friedman authored
both a virtual and a non-virtual offset. PR13832. llvm-svn: 163866
-
Eli Friedman authored
llvm-svn: 163865
-
- Sep 13, 2012
-
-
Eric Christopher authored
Make clang emit a flag for DW_AT_object_pointer for the artificial args where it should (implicit first arguments). FileCheck-ize a test as well and update tests to take into account the object pointer flag. rdar://9797999 llvm-svn: 163755
-
- Sep 12, 2012
-
-
Eric Christopher authored
this should be done on the subprogram, not the variable. llvm-svn: 163733
-
Eric Christopher authored
args where it should (implicit first arguments). FileCheck-ize a test as well and update tests to take into account the object pointer flag. rdar://9797999 llvm-svn: 163668
-
- Sep 11, 2012
-
-
Richard Smith authored
llvm-svn: 163595
-
Eric Christopher authored
llvm-svn: 163586
-
Eric Christopher authored
that the types aren't artificial the args are, but this is currently represented by an artificial type.) Found by inspection. llvm-svn: 163585
-
- Sep 10, 2012
-
-
Dmitri Gribenko authored
llvm-svn: 163546
-