- Dec 22, 2015
-
-
Tom Stellard authored
Summary: These register has different encodings on CI and VI, so we add pseudo FLAT_SCRACTH registers to be used before MC, and subtarget specific registers to be used by the MC layer. Reviewers: arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D15661 llvm-svn: 256178
-
Tom Stellard authored
This matches what the assembler accepts. llvm-svn: 256177
-
Matthew Simpson authored
This patch adds to the target description two additional patterns for matching extract-extend operations to SMOV. The patterns catch the v16i8-to-i64 and v8i16-to-i64 cases. The existing patterns miss these cases because the extracted elements must first be legalized to i32, resulting in any_extend nodes. This was originally implemented as a DAG combine (r255895), but was reverted due to failing out-of-tree tests. llvm-svn: 256176
-
Daniel Jasper authored
Before: void f() { struct Dummy { }; f(); } After: void f() { struct Dummy {}; f(); } llvm-svn: 256175 -
Teresa Johnson authored
llvm-svn: 256174
-
Chad Rosier authored
llvm-svn: 256173
-
Simon Atanasyan authored
The patch adds support for R_MIPS_PC16, R_MIPS_PC19_S2, R_MIPS_PC21_S2, R_MIPS_PC26_S2, R_MIPS_PCHI16, R_MIPS_PCLO16 relocations handling. llvm-svn: 256172
-
Teresa Johnson authored
llvm-svn: 256171
-
Daniel Jasper authored
the main #include. llvm-svn: 256170
-
Dan Gohman authored
llvm-svn: 256169
-
Dan Gohman authored
llvm-svn: 256168
-
Dan Gohman authored
llvm-svn: 256167
-
Dan Gohman authored
This allows the AsmMatcherEmitter to properly tokenize the AsmStrings for load and store instructions. This is a step towards asm parsing. llvm-svn: 256166
-
Dan Gohman authored
llvm-svn: 256165
-
Dan Gohman authored
llvm-svn: 256164
-
Dan Gohman authored
llvm-svn: 256163
-
- Dec 21, 2015
-
-
Teresa Johnson authored
Remove a couple ModuleLinker methods and a related static function that are no longer used after the linker split. llvm-svn: 256162
-
Teresa Johnson authored
This fixes a bug introduced by the ThinLTO metadata linking patch r255909. The assert is overly-strict and while useful in development of the patch, doesn't seem interesting to keep. Fixes PR25907. llvm-svn: 256161
-
Jun Bum Lim authored
This reverts commit r256004 due to a failure in cortex-a53. llvm-svn: 256160
-
Chad Rosier authored
llvm-svn: 256159
-
Chad Rosier authored
Disable post-ra scheduler for perturbed tests to appease the bots and to preserve the history of the tests. http://reviews.llvm.org/D15652 llvm-svn: 256158
-
Igor Breger authored
AVX512BW: Enable AND/OR/XOR vector byte/word paked operation by promoting to qword that natively suppored. llvm-svn: 256157
-
Davide Italiano authored
llvm-svn: 256156
-
Amjad Aboud authored
http://lists.llvm.org/pipermail/cfe-dev/2015-September/045171.html Differential Revision: http://reviews.llvm.org/D15567 llvm-svn: 256155
-
Daniel Jasper authored
The style guide allows both, but apparently, this is the more dominant use. llvm-svn: 256154
-
Daniel Jasper authored
includes. llvm-svn: 256153
-
Zlatko Buljan authored
[mips][microMIPS] Implement DERET and DI instructions and check size operand for EXT and DEXT* instructions Differential Revision: http://reviews.llvm.org/D15570 llvm-svn: 256152
-
Tobias Grosser authored
llvm-svn: 256151
-
Alexander Kornienko authored
Summary: scan-view migrated from optparse deprecated Python module to its replacement (argparse) and resolved few conflicts with pep8 Reviewers: ddunbar, aaron.ballman, dcoughlin, jroelofs, zaks.anna Subscribers: cfe-commits Patch by Kirill Bobyrev! Differential Revision: http://reviews.llvm.org/D15370 llvm-svn: 256150
-
Tobias Grosser authored
.. and add some documentation. We also simplify the code by dropping an early check that is also covered by the the later checks. This might have a small compile time impact, but as the scops that are skipped are small we should probably only add this back in the unlikely case that this has a notable compile-time cost. No functional change intended. llvm-svn: 256149
-
Daniel Jasper authored
Before, the first (non-system) header in a file was considered to be the main include. This is conservative as it makes clang-format change the #include order less often. Instead implement some basic usage of the filename itself. With this patch, clang-format considers every header to be a main include if the header file's basename is a prefix to the filename the #include is in. llvm-svn: 256148
-
Tamas Berghammer authored
llvm-svn: 256147
-
James Molloy authored
The gold plugin understands -O0..-O3, but these are not currently being passed to it. llvm-svn: 256146
-
George Rimar authored
This patch changes sequence of applying relocations, moving tls optimized relocation handling code before code for other locals. Without that change relocation @GOTTPOFF against local symbol caused runtime error ("unrecognized reloc ..."). That change also should fix other tls optimized relocations, but I did not check them, that's a field for another patch. R_X86_64_GOTTPOFF relocations against locals can be found when linking against libc.a(malloc.o): 000000000036 000600000016 R_X86_64_GOTTPOFF 0000000000000000 libc_tsd_MALLOC - 4 000000000131 000600000016 R_X86_64_GOTTPOFF 0000000000000000 libc_tsd_MALLOC - 4 Differential revision: http://reviews.llvm.org/D15581 llvm-svn: 256145 -
George Rimar authored
This relocation is similar to R_*_RELATIVE except that the value used in this relocation is the program address returned by the function, which takes no arguments, at the address of the result of the corresponding R_*_RELATIVE relocation as specified in the processor-specific ABI. The purpose of this relocation to avoid name lookup for locally defined STT_GNU_IFUNC symbols at load-time. More info can be found in ifunc.txt from https://sites.google.com/site/x32abi/documents. Differential revision: http://reviews.llvm.org/D15235 llvm-svn: 256144
-
George Rimar authored
R_386_GOTOFF is calculated as S + A - GOT, where: S - Represents the value of the symbol whose index resides in the relocation entry. A - Represents the addend used to compute the value of the relocatable field. GOT - Represents the address of the global offset table. Differential revision: http://reviews.llvm.org/D15383 llvm-svn: 256143
-
Gabor Horvath authored
llvm-svn: 256142
-
George Rimar authored
Spec says both CIE/FDE has "Padding Extra bytes to align the CIE structure to an addressing unit size boundary." https://refspecs.linuxfoundation.org/LSB_3.0.0/LSB-PDA/LSB-PDA/ehframechpt.html Patch aligns CIE/FDE entries to the size of platform pointer. Differential revision: http://reviews.llvm.org/D15637 llvm-svn: 256141
-
Tobias Grosser authored
As we already log an error when calling invalid, scops unprofitable scops are in any case marked invalid, but returning immediately safes (a tiny bit of) compile time and is consistent with our use of 'invalid' in the remainder of the file. Found by inspection. llvm-svn: 256140
-
Tobias Grosser authored
Without this return we still log the incorrect array size (and do not detect this scop), but we would unnecessarily continue to verify that access functions are affine. As we do not need to do this, we can return right ahead and consequently safe compile time. This issue was found by inspection. llvm-svn: 256139
-