| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
As an extension, generic selection support has been added for all
supported languages. The syntax is the same as for C1X.
llvm-svn: 129554
|
| |
|
|
| |
llvm-svn: 129553
|
| |
|
|
|
| |
Ref: I.1 Instruction encoding diagrams and pseudocode
llvm-svn: 129552
|
| |
|
|
| |
llvm-svn: 129551
|
| |
|
|
|
|
|
|
| |
instructions
(single element or n-element structure to all lanes).
llvm-svn: 129550
|
| |
|
|
|
|
| |
named the samed as the pragma and they do not interfere (ie. cl_khr_fp64).
llvm-svn: 129549
|
| |
|
|
| |
llvm-svn: 129548
|
| |
|
|
|
|
|
| |
is so broken that Sema can't form a declaration for it, don't bother
trying to parse the definition later. Fixes <rdar://problem/9221993>.
llvm-svn: 129547
|
| |
|
|
|
|
|
| |
canonical, and generally leads to better code. Found while looking at
an article about saturating arithmetic.
llvm-svn: 129545
|
| |
|
|
|
|
|
|
| |
instantiation), be sure to add the transformed declaration into the
current DeclContext. Also, remove the -Wuninitialized hack that works
around this bug. Fixes <rdar://problem/9200676>.
llvm-svn: 129544
|
| |
|
|
| |
llvm-svn: 129543
|
| |
|
|
|
|
| |
command and Python API).
llvm-svn: 129542
|
| |
|
|
|
|
| |
draft standard (N3291).
llvm-svn: 129541
|
| |
|
|
|
|
|
|
| |
and is interpreted as "[:" because of the digraph "<:". When found, give an error with a fix-it to add whitespace between the "<" and "::".
Patch by Richard Trieu! Plus a small tweak from me to deal with one of the tokens coming from a macro.
llvm-svn: 129540
|
| |
|
|
|
|
|
| |
statement, and expression pointers. While these shouldn't happen, it's
better to be safe in libclang.
llvm-svn: 129539
|
| |
|
|
|
|
|
|
|
|
| |
repeatedly undo each other. The solution is to perform more aggressive constant folding to make one of the edges just folded away rather than trying to thread it.
Fixes <rdar://problem/9284786>.
Discovered with CSmith.
llvm-svn: 129538
|
| |
|
|
|
|
| |
// rdar://9208404
llvm-svn: 129536
|
| |
|
|
|
|
|
| |
completion, look through block pointer and function pointer types to the
result type of the block/function. Fixes <rdar://problem/9282583>.
llvm-svn: 129535
|
| |
|
|
|
|
|
|
|
|
| |
convention selection (AAPCS or
AAPCS+VFP), similar to fastcall / stdcall / whatevercall seen on x86.
In particular, all library functions should always be AAPCS regardless of floating point ABI used.
llvm-svn: 129534
|
| |
|
|
|
|
|
|
|
|
| |
references the argument types:
template<typename T> auto f(T a) -> decltype(a.foo());
Since this is the primary reason for the introduction of this feature, downgrade implementation status to "Some examples work".
llvm-svn: 129533
|
| |
|
|
| |
llvm-svn: 129532
|
| |
|
|
|
|
| |
operations.
llvm-svn: 129531
|
| |
|
|
| |
llvm-svn: 129527
|
| |
|
|
| |
llvm-svn: 129525
|
| |
|
|
|
|
| |
RHS of a shift.
llvm-svn: 129522
|
| |
|
|
|
|
|
| |
diagnosing it as an error rather than looping infinitely. Also,
explicitly disallow @defs in Objective-C++. Fixes <rdar://problem/9260136>.
llvm-svn: 129521
|
| |
|
|
| |
llvm-svn: 129520
|
| |
|
|
| |
llvm-svn: 129519
|
| |
|
|
|
|
| |
size of the clang binary in Debug builds from 690MB to 679MB.
llvm-svn: 129518
|
| |
|
|
| |
llvm-svn: 129517
|
| |
|
|
|
|
| |
function template from a previous PCH. Fixes the only crasher when using massive chains on Clang's Sema component. We still have some incomplete codegen there.
llvm-svn: 129516
|
| |
|
|
| |
llvm-svn: 129515
|
| |
|
|
| |
llvm-svn: 129514
|
| |
|
|
|
|
| |
the wrong order. The effect was that all but the first chain-include files was ignored for subsequent compilations.
llvm-svn: 129513
|
| |
|
|
| |
llvm-svn: 129509
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is done by pushing physical register definitions close to their
use, which happens to handle flag definitions if they're not glued to
the branch. This seems to be generally a good thing though, so I
didn't need to add a target hook yet.
The primary motivation is to generate code closer to what people
expect and rule out missed opportunity from enabling macro-op
fusion. As a side benefit, we get several 2-5% gains on x86
benchmarks. There is one regression:
SingleSource/Benchmarks/Shootout/lists slows down be -10%. But this is
an independent scheduler bug that will be tracked separately.
See rdar://problem/9283108.
Incidentally, pre-RA scheduling is only half the solution. Fixing the
later passes is tracked by:
<rdar://problem/8932804> [pre-RA-sched] on x86, attempt to schedule CMP/TEST adjacent with condition jump
Fixes:
<rdar://problem/9262453> Scheduler unnecessary break of cmp/jump fusion
llvm-svn: 129508
|
| |
|
|
|
|
| |
I've used it a few times to reduce unit tests and gotten one request for information on it. It's not easy to use correctly because bugpoint doesn't tell you when you're doing it wrong.
llvm-svn: 129507
|
| |
|
|
|
|
| |
improvements, that will lead to fixing PR6627.
llvm-svn: 129504
|
| |
|
|
| |
llvm-svn: 129503
|
| |
|
|
|
|
|
|
|
|
|
|
| |
instruction around, reducing work.
Greatly simplify handling of debug instructions. There is no need to
build up a vector of them and then move them into the one predecessor
if we're processing a block. Instead just rescan the block and *copy*
them into the pred. If a block gets merged into multiple preds, this
will retain more debug info.
llvm-svn: 129502
|
| |
|
|
| |
llvm-svn: 129501
|
| |
|
|
|
|
| |
tables.
llvm-svn: 129500
|
| |
|
|
|
|
| |
CFGBuilder::VisitUnaryExprOrTypeTraitExpr().
llvm-svn: 129499
|
| |
|
|
|
|
| |
(movzx/movsx) because they give more information. Revert that part of the patch.
llvm-svn: 129498
|
| |
|
|
|
|
| |
cases, it's much nicer and more informative reading the alias.
llvm-svn: 129497
|
| |
|
|
|
|
| |
functionality intended.
llvm-svn: 129496
|
| |
|
|
|
|
|
| |
DiagnosticBuilder::AddFixItHint: they will be dropped along with any
other (possibly valid) fixits later.
llvm-svn: 129495
|
| |
|
|
|
|
|
|
|
|
| |
that the class
named by the nested-name-specifier is same or base of the class in which the member expression appears.
It seems we also had an ill-formed test case, mon dieu! Fixes rdar://8576107.
llvm-svn: 129493
|
| |
|
|
| |
llvm-svn: 129492
|
| |
|
|
|
|
| |
in functionality intended.
llvm-svn: 129491
|