- Jan 20, 2017
-
-
Simon Pilgrim authored
llvm-svn: 292613
-
Simon Pilgrim authored
SHL v8i32 is already handled in the SSE41 cost table llvm-svn: 292612
-
Pavel Labath authored
Summary: The server was no longer sending the thread PCs the way the client expected them. I changed the server to send them back as a threadstop info field, similar to the Apple version of the server. I also changed the client to look for them there, before querying the server. I added a test to ensure the server doesn't stop sending them. Reviewed By: labath Differential Revision: https://reviews.llvm.org/D28880 Author: Jason Majors llvm-svn: 292611
-
Simon Pilgrim authored
llvm-svn: 292609
-
Sjoerd Meijer authored
We also want to optimise tests like this: return a*b == 0. The MULS instruction is flag setting, so we don't need the CMP instruction but can instead branch on the result of the MULS. The generated instructions sequence for this example was: MULS, MOVS, MOVS, CMP. The MOVS instruction load the boolean values resulting from the select instruction, but these MOVS instructions are flag setting and were thus preventing this optimisation. Now we first reorder and move the MULS to before the CMP and generate sequence MOVS, MOVS, MULS, CMP so that the optimisation could trigger. Reordering of the MULS and MOVS is safe to do because the subsequent MOVS instructions just set the CPSR register and don't use it, i.e. the CPSR is dead. Differential Revision: https://reviews.llvm.org/D27990 llvm-svn: 292608
-
Eric Fiselier authored
llvm-svn: 292607
-
Eric Fiselier authored
The commit isn't quite right, and I want to only have to merge one commit into 4.0 llvm-svn: 292606
-
Eric Fiselier authored
llvm-svn: 292605
-
Krasimir Georgiev authored
Summary: rL292562 added a fix to always format if the fallback style is set to "none". In test/Format/style-on-command-line.cpp:19 is redundant, since -fallback-style has a default value of LLVM set in ClangFormat.cpp:72. @amaiorano: I believe that the rest of the test cases still cover your change in case the fallback style is explicitly set to "none". Please, if this is not the case, initiate a discussion. Reviewers: ioeric, bkramer Reviewed By: ioeric Subscribers: cfe-commits, klimek, amaiorano Differential Revision: https://reviews.llvm.org/D28943 llvm-svn: 292604
-
Simon Pilgrim authored
llvm-svn: 292601
-
Krasimir Georgiev authored
Summary: It seems that rL292518 introduced a RUN: false, but the continuation rL292545 forgot to remove it back. This has flown under the radar, because it's a long test and doesn't get executed by default during sanity testing. To test: $ cd llvm_build $ ./bin/llvm-lit --param run_long_tests=true tools/clang/test/Driver/response-file.c @rsmith: have a look if this change is OK please. Reviewers: bkramer Reviewed By: bkramer Subscribers: cfe-commits, rsmith Differential Revision: https://reviews.llvm.org/D28941 llvm-svn: 292600
-
Benjamin Kramer authored
llvm-svn: 292599
-
Hafiz Abid Qadeer authored
llvm-svn: 292598
-
Mehdi Amini authored
llvm-svn: 292597
-
Sam Kolton authored
Reviewers: vpykhtin, artem.tamazov, tstellarAMD Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye Differential Revision: https://reviews.llvm.org/D28900 llvm-svn: 292596
-
Malcolm Parsons authored
llvm-svn: 292595
-
George Rimar authored
Found that during attempts of linking linux kernel, previously we partially duplicated code from getOutputSection(), and it missed commons symbol case. Differential revision: https://reviews.llvm.org/D28903 llvm-svn: 292594
-
Philipp Stephani authored
Summary: Instead of picking the buffer file coding system, always use utf-8-unix for communicating with clang-format. This is fine because clang-format never actually reads the file to be formatted, only standard input. This is a bit simpler (process coding system is now a constant) and potentially faster, as utf-8-unix is Emacs's internal coding system. Also add an end-to-end test that actually invokes clang-format. Reviewers: klimek Reviewed By: klimek Differential Revision: https://reviews.llvm.org/D28904 llvm-svn: 292593
-
Chandler Carruth authored
llvm-svn: 292592
-
Simon Pilgrim authored
Simplify a packss/packus truncation based on the elements of the mask that are actually demanded. Differential Revision: https://reviews.llvm.org/D28777 llvm-svn: 292591
-
Alexey Bataev authored
with SEH and openmp In some cituations (during codegen for Windows SEH constructs) CodeGenFunction instance may have CurFn equal to nullptr. OpenMP related code does not expect such situation during cleanup. llvm-svn: 292590
-
Chandler Carruth authored
Like several other loop passes (the vectorizer, etc) this pass doesn't really fit the model of a loop pass. The critical distinction is that it isn't intended to be pipelined together with other loop passes. I plan to add some documentation to the loop pass manager to make this more clear on that side. LoopSink is also different because it doesn't really need a lot of the infrastructure of our loop passes. For example, if there aren't loop invariant instructions causing a preheader to exist, there is no need to form a preheader. It also doesn't need LCSSA because this pass is only involved in sinking invariant instructions from a preheader into the loop, not reasoning about live-outs. This allows some nice simplifications to the pass in the new PM where we can directly walk the loops once without restructuring them. Differential Revision: https://reviews.llvm.org/D28921 llvm-svn: 292589
-
Chandler Carruth authored
llvm-svn: 292588
-
Diana Picus authored
Hunt down some of the places where we use bare addReg(0) or addImm(AL).addReg(0) and replace with add(condCodeOp()) and add(predOps()). This should make it easier to understand what those operands represent (without having to look at the definition of the instruction that we're adding to). Differential Revision: https://reviews.llvm.org/D27984 llvm-svn: 292587
-
Craig Topper authored
[AVX-512] Fix a couple test cases to not pass an undef mask to gather intrinsic. This could break if any future optimizations taken advantage of the undef. llvm-svn: 292585
-
Jonas Paulsson authored
Add a sentence that says that the type argument can refer to either the type of a result, or that of an operand. Review: Eli Friedman. llvm-svn: 292584
-
Daniel Berlin authored
Part of the assert has been left active for further debugging. The other part has been turned into a stat for tracking for the moment. llvm-svn: 292583
-
Eric Fiselier authored
r292564 disabled the aligned new/delete overloads on platforms without posix_memalign. Unfortunately that patch also disabled the align_val_t definition in C++17 as well. This patch causes align_val_t to be exposed in C++17 regardless of if we have the new/delete overloads. llvm-svn: 292582
-
Mohammad Shahid authored
Change-Id: I905ce08a02c76a6896dcfd9629547417c99adc4a llvm-svn: 292581
-
Saleem Abdulrasool authored
llvm-svn: 292580
-
Saleem Abdulrasool authored
Fix a silly copy-paste error in the tool description. Take the opportunity to add crash stack printing which will hopefully never be needed. llvm-svn: 292579
-
Peter Collingbourne authored
If two sections contained relocations to absolute symbols with the same value we would crash when trying to access their sections. Add a check that both symbols point to sections before accessing their sections, and treat absolute symbols as equal if their values are equal. Differential Revision: https://reviews.llvm.org/D28935 llvm-svn: 292578
-
Eric Fiselier authored
llvm-svn: 292577
-
Saleem Abdulrasool authored
By default c++filt demangles functions, though you can optionally pass `-t` to have it decode types as well, behaving nearly identical to `__cxa_demangle`. Add support for this mode. llvm-svn: 292576
-
Matthias Braun authored
Calling reset() on an empty BitVector would call memset with a nullptr argument which is undefined behaviour. This should fix the sanitizer bot. llvm-svn: 292575
-
Matthias Braun authored
This seems to be breaking some bots. This reverts commit r292543. llvm-svn: 292574
-
Saleem Abdulrasool authored
This reverts SVN r286795. This was incorrect the demangler is expected to be able to demangle types as well as functions. This makes the behaviour of itaniumDemangle similar to __cxa_demangle once more. llvm-svn: 292573
-
Haicheng Wu authored
This reverts commit r292570. The test still has problem. llvm-svn: 292572
-
Jordan Rose authored
The AST printer was dropping attributes on enumerators (enum constants). Now it's not. llvm-svn: 292571
-
Haicheng Wu authored
This recommits r292526 which is reverted in r292529 after fixing the test case. The original summary: Currently, a GEP is considered free only if its indices are all constant. TTI::getGEPCost() can give target-specific more accurate analysis. TTI is already used for the cost of many other instructions. llvm-svn: 292570
-