- Nov 17, 2012
-
-
Benjamin Kramer authored
Also fixes a bit/byte mismatch when checking if a target supports atomic ops of a certain size. llvm-svn: 168260
-
- Nov 16, 2012
-
-
Richard Smith authored
Separate out the notions of 'has a trivial special member' and 'has a non-trivial special member', and use them appropriately. These are not opposites of one another (there might be no special member, or in C++11 there might be a trivial one and a non-trivial one). The CXXRecordDecl predicates continue to produce incorrect results, but do so in fewer cases now, and they document the cases where they might be wrong. No functionality changes are intended here (they will come when the predicates start producing the right answers...). llvm-svn: 168119
-
Eli Friedman authored
Make sure CodeGenTypes correctly reconverts function types. Fixes PR14355, a crash in IR generation. llvm-svn: 168112
-
- Nov 15, 2012
-
-
Benjamin Kramer authored
llvm-svn: 168047
-
Dmitri Gribenko authored
llvm-svn: 168041
-
Lang Hames authored
more sense anyway - it determines how expressions are codegen'd. It also ensures that -ffp-contract=fast has the intended effect when compiling LLVM IR. llvm-svn: 168027
-
- Nov 14, 2012
-
-
Eli Friedman authored
type as written from the ParmVarDecl; it's unclear whether the standard (C99 6.9.1p10) requires this, but we're following the precedent set by gcc, and hopefully nobody will ever ask about this again. PR9559 / <rdar://problem/12621983>. llvm-svn: 167985
-
John McCall authored
which is not coincidentally the only place it works, either (because of how it tests for EH_TYPE symbols). llvm-svn: 167935
-
Fariborz Jahanian authored
llvm-svn: 167934
-
Fariborz Jahanian authored
llvm-svn: 167932
-
Fariborz Jahanian authored
variables captured in a block. // rdar://12184410 llvm-svn: 167931
-
John McCall authored
Patch by Jonathan Schleifer. llvm-svn: 167925
-
Eric Christopher authored
temporarily since it breaks the gdb bots. This reverts commit r167807/30305bec25cac981c6d4a3b8be004401310a82a7. llvm-svn: 167887
-
- Nov 13, 2012
-
-
Bill Wendling authored
If we have a type 'int a[1]' and a type 'int b[0]', the generated DWARF is the same for both of them because we use the 'upper_bound' attribute. Instead use the 'count' attrbute, which gives the correct number of elements in the array. <rdar://problem/12566646> llvm-svn: 167807
-
Eli Friedman authored
PR11777. llvm-svn: 167802
-
- Nov 10, 2012
-
-
Fariborz Jahanian authored
lower 24bit is currently being used. llvm-svn: 167678
-
- Nov 09, 2012
-
-
Argyrios Kyrtzidis authored
a memory buffer instead of only a filename. llvm-svn: 167627
-
Chad Rosier authored
us from having to make any backend changes. llvm-svn: 167623
-
Chad Rosier authored
rdar://12340498 llvm-svn: 167619
-
- Nov 08, 2012
-
-
Richard Smith authored
at whether the *selected* constructor would be trivial rather than considering whether the array's element type has *any* non-trivial constructors of the relevant kind. llvm-svn: 167562
-
- Nov 07, 2012
-
-
Fariborz Jahanian authored
captured block variable layout meta-data. No intended change in functionality. llvm-svn: 167549
-
David Chisnall authored
a bug in the inliner still causes the wrong thing to happen at -O2 and above (PR14116). llvm-svn: 167534
-
Eli Friedman authored
This is useful because unnamed bitfields can have effects on the offsets which are not otherwise reflected in the DWARF information. <rdar://problem/12629719> llvm-svn: 167503
-
- Nov 06, 2012
-
-
Anton Korobeynikov authored
works between the modules. No functionality change on Darwin/Windows. This fixes PR11480. llvm-svn: 167496
-
Eli Friedman authored
coverage of this code is. llvm-svn: 167495
-
Eli Friedman authored
llvm-svn: 167487
-
Manman Ren authored
llvm-svn: 167476
-
Manman Ren authored
disabling byval, we set realign to true. It will perform an aligned alloca, and call memcpy to copy the byval argument to the local variable. Change the size threshold back to 64 bytes. rdar://12596507 llvm-svn: 167440
-
Eli Friedman authored
llvm-svn: 167437
-
Eli Friedman authored
refactor the code. llvm-svn: 167436
-
Richard Smith authored
Classify the INT_MIN/-1 check as -fsanitize=signed-integer-overflow, not as -fsanitize=divide-by-zero. llvm-svn: 167433
-
Eli Friedman authored
llvm-svn: 167431
-
Douglas Gregor authored
token. This is important because the first token could actually be after an #include that triggers a module import, which might use either Sema or the AST consumer before it would have been initialized. llvm-svn: 167423
-
- Nov 05, 2012
-
-
Manman Ren authored
the type alignment of the byval argument. This patch will disable byval in this case, it also increases the size threshold for turning on byval. A backend fix will be attempted. rdar://12596507 llvm-svn: 167416
-
Richard Smith authored
checks to enable. Remove frontend support for -fcatch-undefined-behavior, -faddress-sanitizer and -fthread-sanitizer now that they don't do anything. llvm-svn: 167413
-
Richard Smith authored
*Sanitizer to Sanitize* in preparation for later patches. llvm-svn: 167405
-
Ulrich Weigand authored
zero-extended to 64 bits. This information is currently provided to the back end by setting "signext" or "zeroext" attributes. However, this is done only for integer types *smaller* than i32, not for i32 itself. This causes clang to generate code violating the ABI, which results in a failure of the tramp3d-v4 test case (due to calling a system library routine without ABI-required extension). This patch implements custom versions of classifyArgumentType and classifyReturnType for PPC64_SVR4_ABIInfo, which are the same as the default versions except that they also classify "int" and "unsigned int" as types needing extending. This fixed tramp3d-v4 on PowerPC64. llvm-svn: 167393
-
- Nov 04, 2012
-
-
Fariborz Jahanian authored
well as couple of tests which were not being excercised because of TYPOs. llvm-svn: 167374
-
- Nov 03, 2012
-
-
David Blaikie authored
llvm-svn: 167336
-
- Nov 02, 2012
-
-
Fariborz Jahanian authored
mrr mode. llvm-svn: 167331
-