- Sep 02, 2015
-
-
Douglas Katzman authored
llvm-svn: 246650
-
Tamas Berghammer authored
This fixes a regression caused by r245645 where creating alternative thumb disassembler was enabled even when the main disassembler is already thumb. llvm-svn: 246649
-
Tamas Berghammer authored
If no architecture is defined for the disassambler command then it uses the architecture of the target. In case of arm it will be "arm" what is treated as the oldest arm version by the LLVM disassambler causing a lot of invalid opcode in the output. This change forces the use of "armv8.1a" (the newest arm architecture) if no sub architecure was specified (either by the user or by the target) to disassamble all instruction. Differential revision: http://reviews.llvm.org/D12553 llvm-svn: 246648
-
Pavel Labath authored
tests have been reliably passing at least the last 100 runs of the build bot. llvm-svn: 246647
-
Aaron Ballman authored
llvm-svn: 246646
-
Pavel Labath authored
llvm-svn: 246645
-
Pavel Labath authored
llvm-svn: 246644
-
Alexander Kornienko authored
llvm-svn: 246643
-
Igor Breger authored
Added tests for intrinsics and encoding. Differential Revision: http://reviews.llvm.org/D11593 llvm-svn: 246642
-
NAKAMURA Takumi authored
For me, Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7deb0dc in _dl_fixup () from /lib64/ld-linux-x86-64.so.2 llvm-svn: 246641
-
Igor Breger authored
Added tests for intrinsics and encoding. Differential Revision: http://reviews.llvm.org/D11709 llvm-svn: 246640
-
Tamas Berghammer authored
If a command argument contains a space then it have to be escaped with backslash signs so the argument parsing logic can parse it properly. This CL fixes the tab completion code for the arguments to create complitions with correctly escaped strings. Differential revision: http://reviews.llvm.org/D12531 llvm-svn: 246639
-
Angel Garcia Gomez authored
Summary: Fix a bug where use-auto check would crash when the definition of a type is in the same statement than its instantiation with new. Reviewers: alexfh Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D12551 llvm-svn: 246638
-
James Molloy authored
We were bailing to two places if our runtime checks failed. If the initial overflow check failed, we'd go to ScalarPH. If any other check failed, we'd go to MiddleBlock. This caused us to have to have an extra PHI per induction and reduction as the vector loop's exit block was not dominated by its latch. There's no need to have this behavior - if we just always go to ScalarPH we can get rid of a bunch of complexity. llvm-svn: 246637
-
James Molloy authored
NFC. llvm-svn: 246636
-
James Molloy authored
NFC. llvm-svn: 246635
-
James Molloy authored
This reduces the complexity of createEmptyBlock() and will open the door to further refactoring. The test change is simply because we're now constant folding a trivial test. llvm-svn: 246634
-
James Molloy authored
... and do a tad of tidyup while we're at it. Because StartIdx must now be zero, there's no difference between Count and EndIdx. llvm-svn: 246633
-
James Molloy authored
It makes things easier to understand if this is in a helper method. This is part of my ongoing spaghetti-removal operation on createEmptyLoop. llvm-svn: 246632
-
James Molloy authored
There's no need to widen canonical induction variables. It's just as efficient to create a *new*, wide, induction variable. Consider, if we widen an indvar, then we'll have to truncate it before its uses anyway (1 trunc). If we create a new indvar instead, we'll have to truncate that instead (1 trunc) [besides which IndVars should go and clean up our mess after us anyway on principle]. This lets us remove a ton of special-casing code. llvm-svn: 246631
-
James Molloy authored
Vectorized loops only ever have one induction variable. All induction PHIs from the scalar loop are rewritten to be in terms of this single indvar. We were trying very hard to pick an indvar that already existed, even if that indvar wasn't canonical (didn't start at zero). But trying so hard is really fruitless - creating a new, canonical, indvar only results in one extra add in the worst case and that add is trivially easy to push through the PHI out of the loop by instcombine. If we try and be less clever here and instead let instcombine clean up our mess (as we do in many other places in LV), we can remove unneeded complexity. llvm-svn: 246630
-
NAKAMURA Takumi authored
I got a few reports it didn't work. llvm-svn: 246629
-
Pavel Labath authored
Fix Clang-tidy misc-use-override warnings in source/Commands headers, unify closing inclusion guards patch by Eugene Zelenko. Differential Revision: http://reviews.llvm.org/D12207 llvm-svn: 246628
-
Pavel Labath authored
Fix Clang-tidy misc-use-override warnings in some files in include/lldb/Interpreter, unify closing inclusion guards patch by Eugene Zelenko. Differential Revision: http://reviews.llvm.org/D12171 llvm-svn: 246627
-
Pavel Labath authored
Fix Clang-tidy misc-use-override warnings in some files in include/lldb/Target, unify closing inclusion guards patch by Eugene Zelenko. Differential Revision: http://reviews.llvm.org/D12167 llvm-svn: 246626
-
Elena Demikhovsky authored
Enabled DAG pattern lowering for SKX with DQI predicate. Differential Revision: http://reviews.llvm.org/D12550 llvm-svn: 246625
-
Pavel Labath authored
Fix Clang-tidy misc-use-override warnings in include/lldb/API, Breakpoint and Symbol, unify closing inclusion guards patch by Eugene Zelenko. llvm-svn: 246624
-
Pavel Labath authored
Summary: The test (among other things) attempts to verify that detaching works while the inferior is running. However, this was racy since the inferior could end up stopping again before we got a chance to detach from it (the test could be made to fail reliably by inserting a sleep just after the last "continue" command). The reason for the stop was that we had a breakpoint set in a place that can be hit by multiple threads, and we stop because another thread hit a breakpoint. I fix this by moving the breakpoint to a place that is reachable from only one thread. I also make sure that the same thread cannot hit the breakpoint if we are exceptionaly slow by flipping a flag which makes the breakpoint unreachable (I cannot just disable or delete the breakpoint as the test makes it a point to try detaching while breakpoints are still set). Another source or racyness was that the test verified that the process resumes and stops after a "continue". However, if these two events happened too fast, the initial start event would be lost, and the test would end up confused. I have implemented this in a safer manner and made a utility function out of it, as I know of a couple of other tests which need the same functionality. Reviewers: zturner, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12527 llvm-svn: 246623
-
Elena Demikhovsky authored
Vector 'getelementptr' with scalar base is an opportunity for gather/scatter intrinsic to generate a better sequence. While looking for uniform base, we want to use the scalar base pointer of GEP, if exists. Differential Revision: http://reviews.llvm.org/D11121 llvm-svn: 246622
-
Rui Ueyama authored
I don't understand why the previous code is pretty flaky and the new code is at least less flaky, but the original test occasionally failed on the second run of lib.exe. My guess was that lib.exe was failing because the output of the echo command executed immediately before lib.exe was not flushed to a file, but as far as I can say, the file descriptor is properly closed in TestRunner.py, so this's probably not correct. Other theory is that, on Windows, file output is not guaranteed to be visible to other processes even if a process flushes file descriptors, but I'd think that's unlikely. So honestly I don't know the cause yet. llvm-svn: 246621
-
Rui Ueyama authored
This patch fixes a subtle incompatibility with MSVC linker. MSVC linker preserves the original spelling of a DLL in the import descriptor table. LLD previously converted all characters to lowercase. Usually this difference is benign, but if a program explicitly checks for DLL file names, the program could fail. llvm-svn: 246620
-
Yaron Keren authored
to save running many ModulePasses on available external functions that are thrown away anyhow. llvm-svn: 246619
-
Vedant Kumar authored
Differential Revision: http://reviews.llvm.org/D12444 llvm-svn: 246618
-
Peter Collingbourne authored
This causes the blacklist to be copied into place as a default build step. llvm-svn: 246617
-
Jim Ingham authored
llvm-svn: 246616
-
Vedant Kumar authored
Patch by Dylan McKay! Differential Revision: http://reviews.llvm.org/D12099 llvm-svn: 246615
-
Enrico Granata authored
llvm-svn: 246614
-
Enrico Granata authored
llvm-svn: 246613
-
Enrico Granata authored
These are useful helpers over the low-level API of the FormattersContainer, and since we're actually going to start moving formatters into plugins, it makes sense to simplify things llvm-svn: 246612
-
Jim Ingham authored
llvm-svn: 246611
-