| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The validation algorithm used an incremental approach, building each
iteration's data structures temporarily, validating them, then
adding them to a global set.
This does not scale well to having multiple sets of Root nodes, as the
set of instructions used in each iteration is the union over all
the root nodes. Therefore, refactor the logic to create a single, simple
container to which later logic then refers. This makes it simpler
control-flow wise to make the creation of the container more complex with
the addition of multiple root sets.
llvm-svn: 227499
|
| |
|
|
| |
llvm-svn: 227498
|
| |
|
|
| |
llvm-svn: 227495
|
| |
|
|
| |
llvm-svn: 227493
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In http://reviews.llvm.org/D6911, we allowed GVN to propagate FP equalities
to allow some simple value range optimizations. But that introduced a bug
when comparing to -0.0 or 0.0: these compare equal even though they are not
bitwise identical.
This patch disallows propagating zero constants in equality comparisons.
Fixes: http://llvm.org/bugs/show_bug.cgi?id=22376
Differential Revision: http://reviews.llvm.org/D7257
llvm-svn: 227491
|
| |
|
|
|
|
| |
does not fix all signal handlers, but does fix the most recent one.
llvm-svn: 227490
|
| |
|
|
| |
llvm-svn: 227489
|
| |
|
|
|
|
| |
debug location of comparisons in jumps.
llvm-svn: 227488
|
| |
|
|
| |
llvm-svn: 227487
|
| |
|
|
| |
llvm-svn: 227486
|
| |
|
|
| |
llvm-svn: 227485
|
| |
|
|
|
|
|
|
|
| |
Add tests for the various combines. This should
always be at least cycle neutral on all subtargets for f64,
and faster on some. For f32 we should prefer selecting
v_mad_f32 over v_fma_f32.
llvm-svn: 227484
|
| |
|
|
| |
llvm-svn: 227483
|
| |
|
|
| |
llvm-svn: 227482
|
| |
|
|
|
|
|
|
|
| |
The use of the DbgLoc in FastISel is probably something we should fix.
It's prone to leaking the wrong location into instructions - we should
have a clear chain of custody from the debug location of an IR
Instruction to that of a MachineInstr to avoid such leakage.
llvm-svn: 227481
|
| |
|
|
|
|
|
|
|
| |
Certain aspects of llvm-pdbdump require language support only present in
MSVC 2013 and higher. Since this is strictly a utility, and since we hope
to drop support for MSVC 2012 soon, don't build this unless MSVC 2013 or
higher.
llvm-svn: 227479
|
| |
|
|
| |
llvm-svn: 227478
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Any code creating an MCSectionELF knows ELF and already provides the flags.
SectionKind is an abstraction used by common code that uses a plain
MCSection.
Use the flags to compute the SectionKind. This removes a lot of
guessing and boilerplate from the MCSectionELF construction.
llvm-svn: 227476
|
| |
|
|
| |
llvm-svn: 227474
|
| |
|
|
|
|
| |
This has to be done in the DLL because the state doesn't cross DLL boundaries.
llvm-svn: 227471
|
| |
|
|
| |
llvm-svn: 227470
|
| |
|
|
|
|
| |
copy-pasto in tests
llvm-svn: 227468
|
| |
|
|
| |
llvm-svn: 227466
|
| |
|
|
|
|
| |
fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset.
llvm-svn: 227464
|
| |
|
|
| |
llvm-svn: 227463
|
| |
|
|
| |
llvm-svn: 227462
|
| |
|
|
|
|
| |
The schedule model is not complete yet, and could be improved.
llvm-svn: 227461
|
| |
|
|
| |
llvm-svn: 227460
|
| |
|
|
|
|
| |
time for real).
llvm-svn: 227459
|
| |
|
|
|
|
|
|
|
|
|
| |
For large stack offsets the compiler generates multiple immediate mode
sub/add instructions in the prologue/epilogue. This patch makes the
compiler place the final amount to be added/subtracted into a register,
which is then added/substracted with a single operation.
Differential Revision: http://reviews.llvm.org/D7226
llvm-svn: 227458
|
| |
|
|
|
|
| |
i32 instead of i1.
llvm-svn: 227457
|
| |
|
|
| |
llvm-svn: 227456
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Patch by Nemanja Ivanovic.
As was uncovered by the failing test case (when run on non-PPC
platforms), the feature set when compiling with -march=ppc64le was not
being picked up. This change ensures that if the -mcpu option is not
specified, the correct feature set is picked up regardless of whether
we are on PPC or not.
llvm-svn: 227455
|
| |
|
|
|
|
| |
for MSVC users. This reverts: 227445, 227395, 227389, 227357, 227254, 227252
llvm-svn: 227452
|
| |
|
|
|
|
| |
from memory variant of vcvtph2ps for 256-bit.
llvm-svn: 227446
|
| |
|
|
|
|
| |
Visual Studio.
llvm-svn: 227445
|
| |
|
|
|
|
| |
Patch by Robin Eklind!
llvm-svn: 227442
|
| |
|
|
| |
llvm-svn: 227441
|
| |
|
|
|
|
|
| |
Only the specific ones (MergeableConst4, MergeableConst8, MergeableConst16) are
handled specially.
llvm-svn: 227440
|
| |
|
|
|
|
|
|
|
| |
reroll() was slightly monolithic and a pain to modify. Refactor
a bunch of its state from local variables to member variables
of a helper class, and do some trivial simplification while we're
there.
llvm-svn: 227439
|
| |
|
|
| |
llvm-svn: 227437
|
| |
|
|
|
|
| |
While there modernize some loops. NFC.
llvm-svn: 227436
|
| |
|
|
| |
llvm-svn: 227435
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ELF has support for sections that can be split into fixed size or
null terminated entities.
Since these sections can be split by the linker, it is not necessary
to split them in codegen.
This reduces the combined .o size in a llvm+clang build from
202,394,570 to 173,819,098 bytes.
The time for linking clang with gold (on a VM, on a laptop) goes
from 2.250089985 to 1.383001792 seconds.
The flip side is the size of rodata in clang goes from 10,926,785
to 10,929,345 bytes.
The increase seems to be because of http://sourceware.org/bugzilla/show_bug.cgi?id=17902.
llvm-svn: 227431
|
| |
|
|
|
|
| |
it crashes as the access to operands array is out of range. This patch adds dedicated decoder method for R6 CACHE_HINT_DESC class that properly handles decoding of these instructions.
llvm-svn: 227430
|
| |
|
|
| |
llvm-svn: 227429
|
| |
|
|
| |
llvm-svn: 227428
|
| |
|
|
| |
llvm-svn: 227424
|
| |
|
|
|
|
|
|
|
|
| |
out all pretty stack trace support when backtraces are disabled.
This has the nice secondary effect of allowing LLVM to continue to build
for targets without __thread or thread_local support to continue to work
so long as they build without support for backtraces.
llvm-svn: 227423
|
| |
|
|
|
|
| |
Follow up to r227318.
llvm-svn: 227422
|