- Feb 11, 2017
-
-
Amaury Sechet authored
llvm-svn: 294765
-
Amaury Sechet authored
llvm-svn: 294764
-
Chris Bieneman authored
llvm-svn: 294763
-
John Brawn authored
In the encoding of system registers in the M-class MSR instruction the mask bits should be 2 for registers that don't take a _<bits> qualifier (the instruction is unpredictable otherwise), and should also be 2 if the register takes a _<bits> qualifier but it's not present as no _<bits> is an alias for _nzcvq. Differential Revision: https://reviews.llvm.org/D29828 llvm-svn: 294762
-
Amaury Sechet authored
llvm-svn: 294761
-
Benjamin Kramer authored
This is just as easy to check from main but prevents random code from shutting down the server. llvm-svn: 294760
-
Mehdi Amini authored
Thanks Davide to catch it in my previous patch. llvm-svn: 294759
-
Hans Wennborg authored
It's not supported, and currently breaks the weekly LLVM snapshot builds. Differential Revision: https://reviews.llvm.org/D29801 llvm-svn: 294758
-
Alexander Kornienko authored
lib/Target/X86/X86TargetMachine.cpp has a code that deletes an instance of a LegalizerInfo descendant via a pointer to base. llvm-svn: 294757
-
Amaury Sechet authored
llvm-svn: 294756
-
Matthew Simpson authored
We previously only created a vector phi node for an induction variable if its type matched the type of the canonical induction variable. Differential Revision: https://reviews.llvm.org/D29776 llvm-svn: 294755
-
- Feb 10, 2017
-
-
Joey Gouly authored
Expose the half type (fp16) through libclang and the python bindings. It seems CXType_LastBuiltin was not updated in b2ea6d9 ("Enable support for __float128 in Clang", 2016-04-13), so update it now. Add an Index test for OpenCL types; in the future we will add other OpenCL types such as images to this test. Patch by Sven van Haastregt. Differential Revision: https://reviews.llvm.org/D29718 llvm-svn: 294754 -
Krzysztof Parzyszek authored
llvm-svn: 294753
-
Rafael Espindola authored
This makes sure we get the same redefinition rules regardless of who is printing (asm parser, codegen) and to what (asm, obj). This fixes an unintentional regression in r293936. llvm-svn: 294752
-
Alexander Kornienko authored
llvm-svn: 294751
-
Simon Pilgrim authored
Tests to demonstrate throughput-latency decision between div and rcp on faster hardware such as Haswell llvm-svn: 294750
-
Simon Pilgrim authored
The patch comes in 2 parts: 1 - it makes use of the SelectionDAG::NewNodesMustHaveLegalTypes flag to tell when it can safely constant fold illegal types. 2 - it correctly resets SelectionDAG::NewNodesMustHaveLegalTypes at the start of each call to SelectionDAGISel::CodeGenAndEmitDAG so all the pre-legalization stages can make use of it - not just the first basic block that gets handled. Fix for PR30760 Differential Revision: https://reviews.llvm.org/D29568 llvm-svn: 294749
-
Simon Pilgrim authored
Also reordered an if statement to test low cost comparisons first llvm-svn: 294748
-
Benjamin Kramer authored
This abstracts away the passing of raw_ostreams everywhere, thread safety will be used soon. llvm-svn: 294747
-
Simon Pilgrim authored
In some cases we call getTargetConstantBitsFromNode for nodes that haven't been lowered from BUILD_VECTOR yet Note: We're getting very close to being able to move most of the constant extraction code from getTargetShuffleMaskIndices into getTargetConstantBitsFromNode llvm-svn: 294746
-
Simon Pilgrim authored
llvm-svn: 294745
-
Pavel Labath authored
this time I have actually tried that it compiles on windows. llvm-svn: 294744
-
Pavel Labath authored
Update the platform-specific log classes to match the new interface. llvm-svn: 294743
-
Pavel Labath authored
- move the header file to the include folder - enclose the class in the proper namespace llvm-svn: 294741
-
Simon Pilgrim authored
llvm-svn: 294740
-
Pavel Labath authored
llvm-svn: 294739
-
Pavel Labath authored
and use it in the appropriate log statements. Formatting of chrono types in log messages was very clunky. This should make it much nicer to use and give better output. For details of the formatting options see the chrono formatter in llvm. llvm-svn: 294738
-
Pavel Labath authored
This test is flaky on the windows->android bot. Change assertTrue to assertEqual in the hope better error messages will direct us to the problem. llvm-svn: 294737
-
Pavel Labath authored
Summary: This converts LLDB's logging to use llvm streams instead of lldb_private::Stream and friends. The changes are mostly straight-forward and amount to s/lldb_private::Stream/llvm::raw_ostream. The part worth calling out is the rewrite of the StreamCallback class. Previously this class contained a per-thread buffer of data written. I assume this had something to do with it trying to make sure each log line is delivered as a single event, instead of multiple (possibly interleaved) events. However, this is no longer relevant as the Log class already writes things to a temporary buffer and then delivers the message as a single "write", so I have just removed the code in question. Reviewers: zturner, clayborg Subscribers: emaste, lldb-commits, mgorny Differential Revision: https://reviews.llvm.org/D29615 llvm-svn: 294736
-
Tobias Grosser authored
http://polly.llvm.org/example_manual_matmul.html which illustrates individual passes of Polly, has been ported to reStructuredText and necessary changes have been made to the configuration files used by SPHINX to include the new source as a part of the documentation. Contributed-by:
Singapuram Sanjay Srivallabh <singapuram.sanjay@gmail.com> Differential Revision: https://reviews.llvm.org/D25163 llvm-svn: 294735
-
Tobias Grosser authored
This change clarfies that we want to indeed use the original base address when creating the ScopArrayInfo that corresponds to a given memory access. This change prepares for https://reviews.llvm.org/D28518. llvm-svn: 294734
-
Tobias Grosser authored
This replaces the use of getOriginalAddrPtr, a value that is stored in ScopArrayInfo and might at some point not be unique any more. However, the access value is defined to be unique. This change is an update on r294576, which only clarified that we need the original memory access, but where we still remained dependent to have one base pointer per scop. This change removes unnecessary uses of MemoryAddress::getOriginalBaseAddr() in preparation for https://reviews.llvm.org/D28518. llvm-svn: 294733
-
Eric Fiselier authored
llvm-svn: 294732
-
Eric Fiselier authored
llvm-svn: 294731
-
Eric Fiselier authored
Recommit "Split exception.cpp and new.cpp implementation into different files for different runtimes." This recommits r294707 with additional fixes. The main difference is libc++ now correctly builds without any ABI library. exception.cpp is a bloody mess. It's full of confusing #ifdef branches for each different ABI library we support, and it's getting unmaintainable. This patch breaks down exception.cpp into multiple different header files, roughly one per implementation. Additionally it moves the definitions of exceptions in new.cpp into the correct implementation header. This patch also removes an unmaintained libc++abi configuration. This configuration may still be used by Apple internally but there are no other possible users. If it turns out that Apple still uses this configuration internally I will re-add it in a later commit. See http://llvm.org/PR31904. llvm-svn: 294730
-
Chandler Carruth authored
compilers don't print the typedef name. llvm-svn: 294729
-
Chandler Carruth authored
Without any loops, we don't even bother to build the standard analyses used by loop passes. Without these, we can't run loop analyses or invalidate them properly. Unfortunately, we did these things in the wrong order which would allow a loop analysis manager's proxy to be built but then not have the standard analyses built. When we went to do the invalidation in the proxy thing would fall apart. In the test case provided, it would actually crash. The fix is to carefully check for loops first, and to in fact build the standard analyses before building the proxy. This allows it to correctly trigger invalidation for those standard analyses. An alternative might seem to be to look at whether there are any loops when doing invalidation, but this doesn't work when during the loop pipeline run we delete the last loop. I've even included that as a test case. It is both simpler and more robust to defer building the proxy until there are definitely the standard set of analyses and indeed loops. This bug was uncovered by enabling GlobalsAA in the pipeline. llvm-svn: 294728
-
Eric Fiselier authored
Revert "Split exception.cpp and new.cpp implementation into different files for different runtimes." The compiler-rt CMake configuration needs some tweaking before this can land. llvm-svn: 294727
-
Igor Breger authored
llvm-svn: 294726
-
Mehdi Amini authored
llvm-svn: 294725
-