| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
one array of guards per function, instead of one guard per BB. reorganize the code so that trace-pc-guard does not create unneeded globals
llvm-svn: 282735
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Not tunned up heuristic, but with this small heuristic there is about
+0.10% improvement on SPEC 2006
Reviewers: tejohnson, mehdi_amini, eraman
Subscribers: mehdi_amini, llvm-commits
Differential Revision: https://reviews.llvm.org/D24940
llvm-svn: 282733
|
| |
|
|
| |
llvm-svn: 282732
|
| |
|
|
|
|
| |
This is an attempt to fix a windows bot.
llvm-svn: 282730
|
| |
|
|
|
|
| |
Here we can already remove the member function emitAnalysis.
llvm-svn: 282729
|
| |
|
|
|
|
| |
This will be shared between Legality and CostModel.
llvm-svn: 282728
|
| |
|
|
|
|
|
|
| |
The last one remaining after which emitAnalysis can be removed is when
we convert the LAA's report to a vectorization report. This requires
converting LAA to the new interface first.
llvm-svn: 282726
|
| |
|
|
|
|
|
| |
Also renamed the function to emitRemarkWithHints to better reflect what
the function actually does.
llvm-svn: 282723
|
| |
|
|
| |
llvm-svn: 282722
|
| |
|
|
| |
llvm-svn: 282721
|
| |
|
|
|
|
|
|
|
|
| |
The shuffle mask decodes have a large amount of repeated code extracting/splitting mask values from Constant data.
This patch pulls all of this duplicated code into a single helper function to identify undef elements and combine/split constant integer data into the requested shuffle mask elements.
Updated PSHUFB/VPERMIL/VPERMIL2/VPPERM decoders to use it (VPERMV/VPERMV3 could be converted as well in the future).
llvm-svn: 282720
|
| |
|
|
| |
llvm-svn: 282719
|
| |
|
|
| |
llvm-svn: 282718
|
| |
|
|
| |
llvm-svn: 282717
|
| |
|
|
| |
llvm-svn: 282713
|
| |
|
|
|
|
| |
I accidentally comitted it.
llvm-svn: 282712
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Summary: This adds AVRISelLowering.cpp
Reviewers: kparzysz, arsenm
Subscribers: wdng, beanz, mgorny
Differential Revision: https://reviews.llvm.org/D25034
llvm-svn: 282711
|
| |
|
|
|
|
| |
This reduces the build size from 17G to 1.9G on my machine.
llvm-svn: 282704
|
| |
|
|
|
|
| |
Why does Folded Spill comments print with a different number of # characters on different systems?
llvm-svn: 282693
|
| |
|
|
| |
llvm-svn: 282691
|
| |
|
|
|
|
|
|
| |
This adds new pseudo instructions that can be selected during register allocation to represent loads and stores of XMM/YMM registers when AVX512F is available, but VLX isn't. They will be converted to VEX encoded moves if the register turns out to be XMM0-15/YMM0-15. Otherwise either an EVEX VEXTRACT(store) or VBROADCAST(load) will be used.
Fixes one of the cases from PR29112.
llvm-svn: 282690
|
| |
|
|
| |
llvm-svn: 282689
|
| |
|
|
|
|
| |
(X86VBroadcast f64:)). Add AVX512VL to command line of existing AVX2 test that hits this condition.
llvm-svn: 282688
|
| |
|
|
|
|
| |
domain fixing table.
llvm-svn: 282687
|
| |
|
|
| |
llvm-svn: 282686
|
| |
|
|
| |
llvm-svn: 282685
|
| |
|
|
| |
llvm-svn: 282684
|
| |
|
|
|
|
|
| |
All of the other tablegen'd include files are named .gen, so it's best
to be consistent.
llvm-svn: 282680
|
| |
|
|
| |
llvm-svn: 282678
|
| |
|
|
|
|
|
|
|
|
|
| |
AsmPrinter. This was reinitializing the Mangler after we moved the
Mangler down to TLOF and causing us to have two different unnamed
global values accessed with the same name.
This should fix the problems on the ubsan tests here:
http://lab.llvm.org:8011/builders/clang-cmake-mips/builds/15307
llvm-svn: 282675
|
| |
|
|
|
|
| |
we can just use the size of the DenseMap as a unique counter.
llvm-svn: 282674
|
| |
|
|
|
|
| |
line or the other commented out place.
llvm-svn: 282673
|
| |
|
|
| |
llvm-svn: 282672
|
| |
|
|
|
|
| |
Should not be a functional but an aesthetic change.
llvm-svn: 282669
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes to allow spilling all registers at the end of the block
work with exec modifications. Don't emit s_and_saveexec_b64 for
if lowering, and instead emit copies. Mark control flow mask
instructions as terminators to get correct spill code placement
with fast regalloc, and then have a separate optimization pass
form the saveexec.
This should work if SGPRs are spilled to VGPRs, but
will likely fail in the case that an SGPR spills to memory
and no workitem takes a divergent branch.
llvm-svn: 282667
|
| |
|
|
| |
llvm-svn: 282666
|
| |
|
|
| |
llvm-svn: 282665
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Summary: AArch64 LLVM assembler emits add instruction without shift bit to calculate the higher 12-bit address of TLS variables in local exec model. This generates wrong code sequence to access TLS variables with thread offset larger than 0x1000.
Reviewers: t.p.northover, peter.smith, rovka
Subscribers: salim.nasser, aemerson, llvm-commits, rengolin
Differential Revision: https://reviews.llvm.org/D24702
llvm-svn: 282661
|
| |
|
|
|
|
| |
Thanks to Peter for the suggestion.
llvm-svn: 282655
|
| |
|
|
| |
llvm-svn: 282654
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The patch fixes regression caused by two earlier patches D18777 and D18867.
Reviewers: reames, sanjoy
Differential Revision: http://reviews.llvm.org/D24280
From: Li Huang
llvm-svn: 282650
|
| |
|
|
|
|
|
|
|
| |
load command that uses the Mach::rpath_command type
but not used in llvm libObject code but used in llvm tool code.
This includes just the LC_RPATH load command.
llvm-svn: 282649
|
| |
|
|
|
|
|
|
|
|
|
| |
This is a step toward statically allocate InstructionMapping. Like the
previous few commits, the goal is to move toward a TableGen'ed like
structure with no dynamic allocation at all.
This should already improve compile time by getting rid of a bunch of
memmove of SmallVectors.
llvm-svn: 282643
|
| |
|
|
|
|
|
| |
This is a preparatory commit for more TableGen-like structure.
NFC
llvm-svn: 282642
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Answering any meaningful questions about .sancov files requires
accessing symbol information from the corresponding binary.
This change introduces a separate intermediate data structure and
format: symbolized coverage. It contains all symbol information that
is required to answer common queries:
- merging
- coverd/uncovered files and functions
- line status.
Also removing the html report functionality from sancov: generated
HTML files are too huge, and a different approach is required.
Maintaining this half-working approach in the C++ is painful.
Differential Revision: https://reviews.llvm.org/D24947
llvm-svn: 282639
|
| |
|
|
|
|
|
|
| |
LiveDebugVariables doesn't propagate DBG_VALUEs accross basic block
boundaries any more; this functionality was split into LiveDebugValues.
We can thus drop the now dead references to LexicalScopes from LiveDebugVariables.
llvm-svn: 282638
|
| |
|
|
|
|
|
|
|
|
| |
Coverage reports for gigabyte-sized binaries are huge. There's no
practical reason to generate them statically.
Implementing an experiment http coverage report server. The server
loads .symcov file and serves interactive coverage pages.
llvm-svn: 282637
|
| |
|
|
|
|
|
|
|
|
| |
other load commands that use the Mach::version_min_command type
but not used in llvm libObject code but used in llvm tool code.
This includes LC_VERSION_MIN_MACOSX, LC_VERSION_MIN_IPHONEOS,
LC_VERSION_MIN_TVOS and LC_VERSION_MIN_WATCHOS load commands.
llvm-svn: 282635
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
to handle Module update.
Summary: This refactors the change in r282616
Reviewers: davidxl, eraman, mehdi_amini
Subscribers: mehdi_amini, davide, llvm-commits
Differential Revision: https://reviews.llvm.org/D25041
llvm-svn: 282630
|
| |
|
|
|
|
|
|
|
|
| |
Normally, if conversion would add implicit uses for redefined registers,
e.g. R0<def> = add_if ..., R0<imp-use>. However, if only subregisters of
R0 are known to be live but not R0 itself, such implicit uses will not be
added, causing prior definitions of such subregisters and R0 itself to
become dead.
llvm-svn: 282626
|