- Jul 17, 2017
-
-
Jakub Kuderski authored
Some platforms have problems with emmiting constructors when class templates get explicitly instantiated. This patch fixes the bug reported in D35315 by replacing `= default` with an empty constructor body. llvm-svn: 308140
-
- Jul 16, 2017
-
-
Yuka Takahashi authored
Summary: `-W[tab]` will autocomplete warnings defined in this link: https://clang.llvm.org/docs/DiagnosticsReference.html#wweak-vtables Differential Revision: https://reviews.llvm.org/D35447 llvm-svn: 308139
-
Simon Pilgrim authored
llvm-svn: 308138
-
Simon Pilgrim authored
llvm-svn: 308137
-
Simon Pilgrim authored
llvm-svn: 308136
-
Simon Pilgrim authored
llvm-svn: 308135
-
Tobias Grosser authored
Reviewers: grosser, Meinersbur, bollu Tags: #polly Contributed-by:
Nandini Singhal <cs15mtech01004@iith.ac.in> Differential Revision: https://reviews.llvm.org/D35459 llvm-svn: 308134
-
Simon Pilgrim authored
llvm-svn: 308133
-
Simon Pilgrim authored
llvm-svn: 308132
-
Simon Pilgrim authored
llvm-svn: 308131
-
Simon Pilgrim authored
llvm-svn: 308130
-
Simon Pilgrim authored
llvm-svn: 308129
-
Simon Pilgrim authored
llvm-svn: 308128
-
Hiroshi Inoue authored
llvm-svn: 308127
-
Hiroshi Inoue authored
llvm-svn: 308126
-
Craig Topper authored
llvm-svn: 308125
-
Craig Topper authored
This removes a dedicated matcher and allows us to support more than just an AND masking the lower bit. llvm-svn: 308124
-
Vitaly Buka authored
llvm-svn: 308123
-
Vitaly Buka authored
llvm-svn: 308122
-
Vitaly Buka authored
Test expects at least -O1 compiled runtime. llvm-svn: 308121
-
Vitaly Buka authored
llvm-svn: 308120
-
Teresa Johnson authored
Finally figured out that some bots were failing from r308114 with the message: llvm-lto2: LTO::run failed: No available targets are compatible with this triple. after adding in some other checking that finally caused this to show up in the FileCheck output. Added "REQUIRES: x86-registered-target" which should fix it. llvm-svn: 308119
-
Faisal Vali authored
- as usual C++2a implies all the C++'s that came before it. Thank you Aaron for the feedback here: https://reviews.llvm.org/D35454 llvm-svn: 308118
-
Vitaly Buka authored
llvm-svn: 308117
-
Teresa Johnson authored
Modify checks from r308114 even more, to see if I can narrow down why some bots are still failing. llvm-svn: 308116
-
Teresa Johnson authored
Simplifying checks from r308114, to see if I can narrow down why some bots are still failing. llvm-svn: 308115
-
Teresa Johnson authored
This restores r308078/r308079 with a fix for bot non-determinisim (make sure we run llvm-lto in single threaded mode so the debug output doesn't get interleaved). llvm-svn: 308114
-
Tobias Grosser authored
This patch makes sure that in case a loop is not fully contained within a region that later forms a SCoP, none of the loop backedges are allowed to be part of the region. We currently do not support the situation where only some of a loops backedges are part of a scop. Today, this can break both scop modeling and code generation. One such breaking test case is for example test/ScopDetectionDiagnostics/loop_partially_in_scop-2.ll, where we totally forgot to code generate some of the backedges. Fortunately, it is commonly not necessary to support these partial loops, it is way more common that either no backedge is included in a region or all loop backedge are included. This fixes a recent miscompile in MultiSource/Benchmarks/MiBench/consumer-typeset which was exposed after r306477. llvm-svn: 308113
-
Craig Topper authored
[IR] Implement Constant::isNegativeZeroValue/isZeroValue/isAllOnesValue/isOneValue/isMinSignedValue for ConstantDataVector without going through getElementAsConstant Summary: Currently these methods call ConstantDataVector::getSplatValue which uses getElementsAsConstant to create a Constant object representing the element value. This method incurs a map lookup to see if we already have created such a Constant before and if not allocates a new Constant object. This patch changes these methods to use getElementAsAPFloat and getElementAsInteger so we can just examine the data values directly. Reviewers: spatel, pcc, dexonsmith, bogner, craig.topper Reviewed By: craig.topper Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D35040 llvm-svn: 308112
-
Craig Topper authored
[InstCombine] Improve the expansion in SimplifyUsingDistributiveLaws to handle cases where one side doesn't simplify, but the other side resolves to an identity value Summary: If one side simplifies to the identity value for inner opcode, we can replace the value with just the operation that can't be simplified. I've removed a couple now unneeded special cases in visitAnd and visitOr. There are probably other cases I missed. Reviewers: spatel, majnemer, hfinkel, dberlin Reviewed By: spatel Subscribers: grandinj, llvm-commits, spatel Differential Revision: https://reviews.llvm.org/D35451 llvm-svn: 308111
-
Simon Pilgrim authored
llvm-svn: 308110
-
Simon Pilgrim authored
llvm-svn: 308109
-
Simon Pilgrim authored
llvm-svn: 308108
-
Reid Kleckner authored
I need to print the type index in hex so that I can match it in FileCheck for a test I'm writing. llvm-svn: 308107
-
Reid Kleckner authored
Binary search in C++ is such a PITA. =/ llvm-svn: 308106
-
Sanjay Patel authored
1. Add a one-use check to prevent increasing instruction count. 2. Generalize the pattern matching to include vector types. llvm-svn: 308105
-
Craig Topper authored
[InstCombine] Add test cases for (X & (Y | ~X)) -> (X & Y) where the not is an inverted compare. NFC Do the same for (X | (Y & ~X)) -> (X | Y) llvm-svn: 308104
-
Craig Topper authored
[InstCombine] Move 4 test cases from a test that didn't use FileCheck and merge them into a existing test file. NFC llvm-svn: 308103
-
- Jul 15, 2017
-
-
Sanjay Patel authored
This fold hit the trifecta: 1. It was untested. 2. It oversteps (multiuse is not checked, so increases instruction count). 3. It is incomplete (doesn't work for vectors). llvm-svn: 308102
-
Richard Smith authored
llvm-svn: 308101
-