- Jun 09, 2016
-
-
Diana Picus authored
This is made possible by removing an assert in llc that assumed MIRParser::parseLLVMModule would exit on error. MIRParser's documentation states that it returns null if a parsing error occurs, so there's no reason to assert. We can instead just fall through to where the check for a module is performed and exit if it is null. This commit is part of the clean-up after r269655. Fixes PR27770 Differential Revision: http://reviews.llvm.org/D20371 llvm-svn: 272254
-
NAKAMURA Takumi authored
llvm-svn: 272253
-
Craig Topper authored
[AVX512] Fix shuffle decode printing for several instructions with write masks. There are still more bugs here with UNPCK and PALIGN for sure. But these were the easiest ones to fix. llvm-svn: 272252
-
James Molloy authored
If an immediate is only used in an AND node, it is possible that the immediate can be more optimally materialized when negated. If this is the case, we can negate the immediate and use a BIC instead; int i(int a) { return a & 0xfffffeec; } Used to produce: ldr r1, [CONSTPOOL] ands r0, r1 CONSTPOOL: 0xfffffeec And now produces: movs r1, #255 adds r1, #20 ; Less costly immediate generation bics r0, r1 llvm-svn: 272251 -
Craig Topper authored
llvm-svn: 272250
-
Craig Topper authored
[X86] Bring consistent naming to the SSE/AVX and AVX512 PALIGNR instructions. Then add shuffle decode printing for the EVEX forms which is made easier by having the naming structure more similar to other instructions. llvm-svn: 272249
-
Craig Topper authored
llvm-svn: 272248
-
David Majnemer authored
It is possible for a field and a class to have the same name. In such cases, performing lookup for the field might return a result set with more than one entry. An overzealous assertion fired, causing us to crash instead of using the non-class lookup result. This fixes PR28060. llvm-svn: 272247
-
Craig Topper authored
[X86] Handle AVX2 pslldqi and psrldqi intrinsics shufflevector creation directly in the header file instead of in CGBuiltin.cpp. Simplify the sse2 equivalents as well. llvm-svn: 272246
-
Craig Topper authored
llvm-svn: 272245
-
Craig Topper authored
[X86] Add void to the argument list of intrinsics that don't take arguments since empty argument list mean something else in C. llvm-svn: 272244
-
Xinliang David Li authored
llvm-svn: 272243
-
Saleem Abdulrasool authored
llvm-svn: 272242
-
Saleem Abdulrasool authored
Add support to the AArch64 IAS for the `.arch` directive. This allows the assembly input to use architectural functionality in part of a file. This is used in existing code like BoringSSL. Resolves PR26016! llvm-svn: 272241
-
Kostya Serebryany authored
llvm-svn: 272240
-
Teresa Johnson authored
Summary: Enable existing summary-based importing support in the gold-plugin. Reviewers: mehdi_amini Subscribers: llvm-commits, mehdi_amini Differential Revision: http://reviews.llvm.org/D21080 llvm-svn: 272239
-
Sanjoy Das authored
llvm-svn: 272238
-
Sanjoy Das authored
We can safely rely on a NoWrap add recurrence causing UB down the road only if we know the loop does not have a exit expressed in a way that is opaque to ScalarEvolution (e.g. by a function call that conditionally calls exit(0)). I believe with this change PR28012 is fixed. Note: I had to change some llvm-lit tests in LoopReroll, since it looks like they were depending on this incorrect behavior. llvm-svn: 272237
-
Sanjoy Das authored
llvm-svn: 272236
-
Richard Smith authored
llvm-svn: 272235
-
Richard Smith authored
llvm-svn: 272234
-
Richard Smith authored
llvm-svn: 272233
-
Richard Smith authored
looking for it along $PATH. This allows installs of LLVM tools outside of $PATH to find the symbolizer and produce pretty backtraces if they crash. llvm-svn: 272232
-
Reid Kleckner authored
They have probably been discarded during optimization. llvm-svn: 272231
-
Zachary Turner authored
llvm-svn: 272230
-
Rui Ueyama authored
TPI hash table contains a parallel array for the type records. For each type record R, a hash value is calculated by `H(R) % NumBuckets` where H is a hash function, and the result is stored to a bucket element. H is TPI1::hashPrec function in microsoft-pdb repository. Our hash function does not support all type record types yet. Currently it supports only records for line number. I'll extend it in a follow up patch. The aim of verify the hash table is not only detect corrupted files. It ensures that our understanding of how the hash values are calculated is correct. llvm-svn: 272229
-
Alina Sbirlea authored
Summary: Break on all switch cases for outer and inner switches. No functionality changed. Reviewers: llvm-commits, sanjoy Differential Revision: http://reviews.llvm.org/D21158 llvm-svn: 272228
-
Xinliang David Li authored
Differential Revision: http://reviews.llvm.org/D21056 llvm-svn: 272227
-
Quentin Colombet authored
Without that check it was possible to write test cases where the size was not specified and we ended up with weird asserts down the road, because the default value (1) would not make sense. llvm-svn: 272226
-
Rui Ueyama authored
llvm-svn: 272225
-
Michael Zolotukhin authored
Summary: This fixes PR26682. Also add LCSSA as a preserved pass to LoopSimplify, that looks correct to me and allows to write a test for the issue. Reviewers: chandlerc, bogner, sanjoy Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D21112 llvm-svn: 272224
-
Rui Ueyama authored
We are going to use the hash functions from TPI streams. Differential Revision: http://reviews.llvm.org/D21142 llvm-svn: 272223
-
Michael Zolotukhin authored
llvm-svn: 272221
-
Chris Bieneman authored
We are always greater than CMake 2.8.11, so we don't need this check. llvm-svn: 272220
-
Chris Bieneman authored
Since we're always greater than 2.8.12, we don't need this check anymore. llvm-svn: 272219
-
Chris Bieneman authored
This just removes some redundant checks and updates warning text. llvm-svn: 272218
-
Justin Bogner authored
cmake 3.4 introduced LIST_DIRECTORIES to glob recurse, which can be used to simplify this code greatly. llvm-svn: 272217
-
Marshall Clow authored
llvm-svn: 272216
-
Vedant Kumar authored
llvm-svn: 272215
-
Vedant Kumar authored
llvm-svn: 272214
-