| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
better reflect its meaning, now that tail call optimizations
are done by default in some cases.
llvm-svn: 97530
|
|
|
|
| |
llvm-svn: 97529
|
|
|
|
| |
llvm-svn: 97528
|
|
|
|
| |
llvm-svn: 97527
|
|
|
|
|
|
| |
a loop and is itself the only dependency).
llvm-svn: 97526
|
|
|
|
|
|
| |
new helper function.
llvm-svn: 97525
|
|
|
|
|
|
|
|
| |
*not* entering the context of the nested-name-specifier. This was
causing us to look into an uninstantiated template that we shouldn't
look into. Fixes PR6376.
llvm-svn: 97524
|
|
|
|
|
|
|
|
|
|
|
| |
category. Use this in a few places to eliminate unnecessary TST cases and
do some future-proofing. Provide terrible manglings for typeof. Mangle
decltype with some hope of accuracy.
Our manglings for some of the cases covered in the testcase are different
from gcc's, which I've raised as an issue with the ABI list.
llvm-svn: 97523
|
|
|
|
|
|
| |
old isel generated code.
llvm-svn: 97522
|
|
|
|
|
|
|
|
| |
predecessors before returning. Otherwise, if multiple predecessor edges need
splitting, we only get one of them per iteration. This makes a small but
measurable compile time improvement with -enable-full-load-pre.
llvm-svn: 97521
|
|
|
|
|
|
| |
Radar 7696893.
llvm-svn: 97520
|
|
|
|
| |
llvm-svn: 97519
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which has the label map, switch statement stack, etc. Previously, we
had a single set of maps in Sema (for the function) along with a stack
of block scopes. However, this lead to funky behavior with nested
functions, e.g., in the member functions of local classes.
The explicit-stack approach is far cleaner, and we retain a 1-element
cache so that we're not malloc/free'ing every time we enter a
function. Fixes PR6382.
Also, tweaked the unused-variable warning suppression logic to look at
errors within a given Scope rather than within a given function. The
prior code wasn't looking at the right number-of-errors count when
dealing with blocks, since the block's count would be deallocated
before we got to ActOnPopScope. This approach works with nested
blocks/functions, and gives tighter error recovery.
llvm-svn: 97518
|
|
|
|
| |
llvm-svn: 97517
|
|
|
|
|
|
| |
now that it is gone.
llvm-svn: 97516
|
|
|
|
| |
llvm-svn: 97515
|
|
|
|
|
|
|
|
| |
EmitMergeInputChainsMatcher node up into EmitResultCode. This
doesn't have much of an effect on the generated code, the X86
table is exactly the same size.
llvm-svn: 97514
|
|
|
|
|
|
|
|
| |
(set GPR, somecomplexpattern)
if somecomplexpattern doesn't declare what it can match.
llvm-svn: 97513
|
|
|
|
| |
llvm-svn: 97512
|
|
|
|
|
|
| |
(the most general) the others are dead.
llvm-svn: 97511
|
|
|
|
| |
llvm-svn: 97510
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ordered correctly. Previously it would get in trouble when
two patterns were too similar and give them nondet ordering.
We force this by using the record ID order as a fallback.
The testsuite diff is due to alpha patterns being ordered
slightly differently, the change is a semantic noop afaict:
< lda $0,-100($16)
---
> subq $16,100,$0
llvm-svn: 97509
|
|
|
|
| |
llvm-svn: 97508
|
|
|
|
|
|
| |
by constants into leas + shl regardless if optimizing for code size. The size saving from using imulq isn't worth it. Also, the lea and shl instructions may expose further optimization.
llvm-svn: 97507
|
|
|
|
| |
llvm-svn: 97504
|
|
|
|
| |
llvm-svn: 97502
|
|
|
|
|
|
|
|
| |
build time
problems. rdar://7697850.
llvm-svn: 97500
|
|
|
|
|
|
|
| |
re-declare them. This fixes PR6317. Also add the beginnings of an interesting
test case for p1 of [class.friend] which also covers PR6317.
llvm-svn: 97499
|
|
|
|
|
|
| |
in it.
llvm-svn: 97498
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a fixme and PR6451.
Only perform jump checking if the containing function has no errors,
and add the infrastructure needed to do this.
On the testcase in the PR, we produce:
t.cc:6:3: error: illegal goto into protected scope
goto later;
^
t.cc:7:5: note: jump bypasses variable initialization
X x;
^
llvm-svn: 97497
|
|
|
|
|
|
| |
Don't accidentally produce unspillable intervals for deeply nested loops.
llvm-svn: 97496
|
|
|
|
|
|
| |
with "address taken of label in protected scope, jump to it would have unknown effect on scope"
llvm-svn: 97495
|
|
|
|
| |
llvm-svn: 97494
|
|
|
|
| |
llvm-svn: 97493
|
|
|
|
| |
llvm-svn: 97492
|
|
|
|
| |
llvm-svn: 97491
|
|
|
|
| |
llvm-svn: 97490
|
|
|
|
|
|
| |
Delete dead testcase.
llvm-svn: 97489
|
|
|
|
| |
llvm-svn: 97488
|
|
|
|
| |
llvm-svn: 97487
|
|
|
|
| |
llvm-svn: 97486
|
|
|
|
| |
llvm-svn: 97485
|
|
|
|
| |
llvm-svn: 97484
|
|
|
|
|
|
| |
tantalyzing enough that people keep trying to use it.
llvm-svn: 97483
|
|
|
|
|
|
| |
Fixes <rdar://problem/7700339>.
llvm-svn: 97482
|
|
|
|
|
|
| |
bit should be set to 0 instead of 1.
llvm-svn: 97481
|
|
|
|
|
|
| |
@llvm.dbg.global_variable appropriately or not. LLVM does not use this scheme to encode debug info for global variables any more.
llvm-svn: 97480
|
|
|
|
| |
llvm-svn: 97479
|
|
|
|
|
|
| |
redeclarations. Fixes PR6449
llvm-svn: 97478
|
|
|
|
|
|
| |
intrinsics. Now, debug info for global variable is encoded using metadata. The old code path is now history and there is no need to have a test to check a bug fix in old code path.
llvm-svn: 97477
|