| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
HexagonInstrFormats.td.
llvm-svn: 175537
|
|
|
|
|
|
| |
No intended functionality change.
llvm-svn: 175536
|
|
|
|
|
|
| |
PPCJITInfo.cpp in r175394.
llvm-svn: 175531
|
|
|
|
|
|
|
|
|
|
|
| |
Due to the execution order of doFinalization functions, the GC information were
deleted before AsmPrinter::doFinalization was executed. Thus, the
GCMetadataPrinter::finishAssembly was never called.
The patch fixes that by moving the code of the GCInfoDeleter::doFinalization to
Printer::doFinalization.
llvm-svn: 175528
|
|
|
|
| |
llvm-svn: 175527
|
|
|
|
| |
llvm-svn: 175525
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A vectorized sitfp on doubles will get scalarized to a sequence of an
extract_element of <2 x i32>, a bitcast to f32 and a sitofp.
Due to the the extract_element, and the bitcast we will uneccessarily generate
moves between scalar and vector registers.
The patch fixes this by using a COPY_TO_REGCLASS and a EXTRACT_SUBREG to extract
the element from the vector instead.
radar://13191881
llvm-svn: 175520
|
|
|
|
|
| |
NOTE: This is a candidate for the Mesa stable branch.
llvm-svn: 175519
|
|
|
|
|
|
|
|
| |
This stops the Machine Verifier from complaining about uses of undefined
physical registers.
NOTE: This is a candidate for the Mesa stable branch.
llvm-svn: 175518
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Kernel function arguments are lowered to loads from the PARAM_I address
space. When creating these load instructions, we were initializing
their MachinePointerInfo with an Arguement object that was not attached
to any function. This was causing the MachineScheduler to crash when
it tried to access the parent of the Arguement.
This has been fixed by initializing the MachinePointerInfo with a
UndefValue instead.
NOTE: This is a candidate for the Mesa stable branch.
llvm-svn: 175517
|
|
|
|
|
|
|
|
|
| |
In some cases, we were losing track of live implicit registers which
was creating dead defs and causing the scheduler to produce invalid
code.
NOTE: This is a candidate for the Mesa stable branch.
llvm-svn: 175516
|
|
|
|
|
|
| |
is explicitly called during module initialization of lib/Support/Process.cpp. It reads the field of global object PosixZeroTime, which is not guaranteed to be initialized at this point. Found by AddressSanitizer with -fsanitize=init-order option.
llvm-svn: 175509
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes asan instrument memory accesses with unusual sizes (e.g. 5 bytes or 10 bytes), e.g. long double or
packed structures.
Instrumentation is done with two 1-byte checks
(first and last bytes) and if the error is found
__asan_report_load_n(addr, real_size) or
__asan_report_store_n(addr, real_size)
is called.
Also, call these two new functions in memset/memcpy
instrumentation.
asan-rt part will follow.
llvm-svn: 175507
|
|
|
|
| |
llvm-svn: 175501
|
|
|
|
| |
llvm-svn: 175497
|
|
|
|
| |
llvm-svn: 175490
|
|
|
|
| |
llvm-svn: 175488
|
|
|
|
| |
llvm-svn: 175487
|
|
|
|
|
|
| |
BtnezT8SltiX16, BtnezT8SltiuX16 .
llvm-svn: 175486
|
|
|
|
|
|
| |
performs.
llvm-svn: 175485
|
|
|
|
|
|
| |
lookups in collectMarkers.
llvm-svn: 175484
|
|
|
|
|
|
|
|
|
|
| |
fields were only ever set in the constructor. The create method retains
its consistent interface so that these bits can be re-threaded through
the emitter if they're ever needed.
This was found by the -Wunused-private-field Clang warning.
llvm-svn: 175482
|
|
|
|
| |
llvm-svn: 175476
|
|
|
|
| |
llvm-svn: 175474
|
|
|
|
| |
llvm-svn: 175472
|
|
|
|
|
|
| |
library call.
llvm-svn: 175470
|
|
|
|
| |
llvm-svn: 175467
|
|
|
|
|
|
|
| |
Also removes some redundant DNI comments on function declarations already
using the macro.
llvm-svn: 175466
|
|
|
|
| |
llvm-svn: 175464
|
|
|
|
| |
llvm-svn: 175463
|
|
|
|
|
|
|
|
| |
If the memcpy has an odd length with an alignment of 2, this would incorrectly
assert on the last 1 byte copy.
rdar://13202135
llvm-svn: 175459
|
|
|
|
| |
llvm-svn: 175458
|
|
|
|
| |
llvm-svn: 175457
|
|
|
|
| |
llvm-svn: 175456
|
|
|
|
| |
llvm-svn: 175446
|
|
|
|
|
|
|
| |
NOTE: This is a candidate for the Mesa stable branch.
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
llvm-svn: 175445
|
|
|
|
|
| |
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
llvm-svn: 175443
|
|
|
|
|
|
| |
long double will require a more general solution
llvm-svn: 175442
|
|
|
|
|
|
|
| |
Currently we're at 34. Bitset should compile into virtually the same code as
uint64_t here.
llvm-svn: 175437
|
|
|
|
|
|
| |
Paired with an Clang commit so this may cause temporary build failures.
llvm-svn: 175426
|
|
|
|
|
|
|
|
| |
Previously we seemed to be assuming that all functions were definitions and all
methods were declarations. This may be consistent with how Clang uses DIBuilder
but doesn't have to be true of all clients (such as DragonEgg).
llvm-svn: 175423
|
|
|
|
|
|
| |
SelectAllBasicBlocks().
llvm-svn: 175422
|
|
|
|
| |
llvm-svn: 175421
|
|
|
|
| |
llvm-svn: 175420
|
|
|
|
|
|
|
|
| |
at this time, llvm is generating a different but equivalent pattern
that would lead to this instruction. I am trying to think of a way
to get it to generate this. If I can't, I may just remove the pseudo.
llvm-svn: 175419
|
|
|
|
| |
llvm-svn: 175417
|
|
|
|
| |
llvm-svn: 175416
|
|
|
|
|
|
|
|
|
|
| |
This expansion will be moved to expandISelPseudos as soon as I can figure
out how to do that. There are other instructions which use this
ExpandFEXT_T8I816_ins and as soon as I have finished expanding them all,
I will delete the macro asm string text so it has no way to be used
in the future.
llvm-svn: 175413
|
|
|
|
| |
llvm-svn: 175408
|
|
|
|
|
|
|
| |
These instructions are not targeted by the compiler but it is needed for
the MC layer.
llvm-svn: 175407
|