| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
by Pierre Habouzit!
llvm-svn: 116165
|
|
|
|
| |
llvm-svn: 116162
|
|
|
|
| |
llvm-svn: 116129
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
completes support for C1X anonymous struct/union init features:
* Indexed anonymous member initializers should not be expanded. Doing so makes
little sense and would cause unresolvable semantic ambiguity in valid code
(regression introduced by r69153).
* Subobject initialization of (possibly nested) anonymous members are now
referred to with paths relative to the naming record context, eliminating the
synthesis of incorrect implicit InitListExprs that caused CodeGen to assert.
* Field lookup was missing a null check in IdentifierInfo comparison which
caused lookup for a known (already resolved) field to match the first unnamed
data member it encountered leading to silent miscompilation.
* Subobject paths are no longer built using the general purpose
Sema::BuildAnonymousStructUnionMemberPath(). If any corner cases crop up, we
will now assert earlier in Sema instead of passing invalid InitListExprs
through to CodeGen.
Fixes PR6955, from Alp Toker!
llvm-svn: 116098
|
|
|
|
| |
llvm-svn: 115970
|
|
|
|
| |
llvm-svn: 115743
|
|
|
|
| |
llvm-svn: 115737
|
|
|
|
| |
llvm-svn: 115736
|
|
|
|
|
|
| |
Win32. PR6658.
llvm-svn: 115735
|
|
|
|
| |
llvm-svn: 115460
|
|
|
|
| |
llvm-svn: 115459
|
|
|
|
| |
llvm-svn: 115244
|
|
|
|
|
|
| |
- Minor style tweaks by me.
llvm-svn: 115056
|
|
|
|
|
|
| |
Fixes rdar://8476159.
llvm-svn: 114982
|
|
|
|
|
|
| |
vla. Implements pr7827.
llvm-svn: 114737
|
|
|
|
| |
llvm-svn: 114637
|
|
|
|
| |
llvm-svn: 114627
|
|
|
|
| |
llvm-svn: 114619
|
|
|
|
|
|
|
|
|
|
| |
- Therefore, we can lower out the NEON wrapper structs and pass the vectors
directly. This makes a huge difference in the cleanliness of the IR after
optimization.
- I will trust, but verify, via future ABITest testing (for APCS-GNU, at
least).
llvm-svn: 114618
|
|
|
|
| |
llvm-svn: 114586
|
|
|
|
|
|
| |
atomics
llvm-svn: 114503
|
|
|
|
| |
llvm-svn: 114502
|
|
|
|
| |
llvm-svn: 114498
|
|
|
|
| |
llvm-svn: 114497
|
|
|
|
|
|
| |
a vla type (fixes pr7827).
llvm-svn: 114495
|
|
|
|
|
|
| |
complex conditionals. Radar 8453812.
llvm-svn: 114376
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LHS and when conditional expression is an array. Since
it will be decayed, saved expression must be saved with
decayed expression. This is necessary to preserve semantics
of this extension (and prevent an IRGen crash which expects
an array to always be decayed). I am sure there will be other
cases in c++ (aggregate conditionals for example) when saving of the
expression must happen after some transformation on conditional
expression has happened.
Doug, please review. Fixes // rdar://8446940
llvm-svn: 114296
|
|
|
|
|
|
| |
for Clang side of support.
llvm-svn: 114253
|
|
|
|
| |
llvm-svn: 114247
|
|
|
|
|
|
| |
implicit union values for the transparent_union extension.
llvm-svn: 114236
|
|
|
|
|
|
| |
simply aborting when a signed operation overflows. This mirrors the (GCC-incompatible) behaviour from clang 1.0 and 1.1 when -ftrapv was specified, but allows the handler to be defined for each compilation unit.
llvm-svn: 114192
|
|
|
|
|
|
|
|
| |
finished.
This mainly prevents failures and/or crashes when multiple processes try to read/write the same PCH file. (rdar://8392711&8294781); suggestion & review by Daniel!
llvm-svn: 114187
|
|
|
|
|
|
| |
them with a smaller alignment than the rest of codegen expects.
llvm-svn: 114115
|
|
|
|
|
|
|
|
|
|
|
| |
get passed
with a non-default-stack-ABI-alignment (of 16).
- This fixes the ABI convenient, but breaks codegen since we now have
underaligned arguments. Marginal improvement overall though, and will be
fixed in next commit.
llvm-svn: 114113
|
|
|
|
|
|
|
| |
Darwin. Checked vs the handiest Linux llvm-gcc I had around, someone on Linux is
welcome to investigate more.
llvm-svn: 114112
|
|
|
|
|
|
|
|
| |
not. If current file is seen then it indicates that end of previous file's lexical scope.
This fixes radar 8396182.
llvm-svn: 114018
|
|
|
|
|
|
|
|
|
| |
This reverts commit 113814.
This patch was never intended to stay in the repository. If you are reading this
from the future, we apologize for the noise.
llvm-svn: 113990
|
|
|
|
| |
llvm-svn: 113966
|
|
|
|
|
|
| |
appear in the non-assert build. Switch to using check-next as well.
llvm-svn: 113964
|
|
|
|
|
|
| |
sign extension code is emitted: PtrDiffType needs to be a signed long long. Add a corresponding test case.
llvm-svn: 113910
|
|
|
|
|
|
|
| |
llvm.stacksave/llvm.stackrestore wasn't emitted for VLAs in inner scopes.
Fixes r8403108.
llvm-svn: 113822
|
|
|
|
|
|
|
|
| |
This test created a statements.ll file until about a month ago. Some buildbots
still have this file in their source dir. This is the easiest way to remove the
file on all bots. Then I'll revert.
llvm-svn: 113814
|
|
|
|
| |
llvm-svn: 113793
|
|
|
|
| |
llvm-svn: 113740
|
|
|
|
|
|
| |
instead of asserting in IRGen. Fixes radar 8390459.
llvm-svn: 113253
|
|
|
|
|
|
| |
on MMX palignr; we don't do this for the intrinsics.
llvm-svn: 113234
|
|
|
|
| |
llvm-svn: 113177
|
|
|
|
|
|
| |
fixing the ICE in PR7151
llvm-svn: 113130
|
|
|
|
|
|
|
|
| |
initializers, so the result of the evaluation doesn't leak through
inconsistently. Also, don't evaluate references to variables with
initializers with side-effects.
llvm-svn: 113128
|
|
|
|
|
|
|
| |
initializing; it at best matches the element type of the variable
it's initializing. Fixes PR8073.
llvm-svn: 112992
|