- Mar 17, 2017
-
-
Pavel Labath authored
llvm-svn: 298069
-
Oliver Stannard authored
This fixes https://bugs.llvm.org//show_bug.cgi?id=31280 Differential revision: https://reviews.llvm.org/D31026 llvm-svn: 298067
-
Pavel Labath authored
Summary: GetAuxvData was causing dependencies from host to target and linux process modules. It also does not fit netbsd use case, as there we can only read the auxiliary vector with ptrace, which is better done in the process plugin, with the other ptrace calls. I resolve these issues by moving the freebsd and linux versions into the relevant process plugins. In case of linux, this required adding an interface in NativeProcessProtocol. The empty definitions on other platforms can simply be removed. To get the code compiling I had to add ProcessGdbRemote -> ProcessLinux dependency, which was not caught before because we depended on it transitively. Reviewers: zturner, emaste Subscribers: srhines, mgorny, lldb-commits Differential Revision: https://reviews.llvm.org/D31031 llvm-svn: 298066
-
George Rimar authored
Alternative approach can be remove templated method either, like D31028 do. llvm-svn: 298065
-
George Rimar authored
It failed for me under windows, touch reported invalid date format. Seems related to 12h/24h format, though I don't understant why 197001010200 does not work, but 197001010300 works, I see no logic here. Changed to 197001011200. llvm-svn: 298064
-
Pavel Labath authored
It seems sysctl.h is not self-contained, as I get missing symbols in the header itself now. I am going to include all files that the file I moved this from included, and hope that is enough. llvm-svn: 298063
-
George Rimar authored
Was fixed, details on review page. Original commit message: That removes CopyRelSection class completely, making Bss/BssRelRo to be just regular synthetics. This is splitted from D30541 and polished. Difference from D30541 that all logic of SharedSymbol converting to DefinedRegular was removed for now and probably will be posted as separate patch. Differential revision: https://reviews.llvm.org/D30892 llvm-svn: 298062
-
Pavel Labath authored
broken by r298058. llvm-svn: 298061
-
Alexander Kornienko authored
llvm-svn: 298060
-
Alexander Kornienko authored
Summary: Fixed erroneously flagging of chained if statements when styled like this: ``` if (cond) { } else if (cond) { } else { } ``` Reviewers: xazax.hun, alexfh Reviewed By: xazax.hun, alexfh Subscribers: JDevlieghere, cfe-commits Patch by Florian Gross! Differential Revision: https://reviews.llvm.org/D30841 llvm-svn: 298059
-
Pavel Labath authored
Summary: These classes existed only because of the GetName() static function, which can be moved to a more natural place anyway. I move the linux version to NativeProcessLinux (and get rid of ProcFileReader), the freebsd version to ProcessFreeBSD (and fix a bug where it was using the current process ID, instead of the inferior pid), and remove the NetBSD version (which was probably incorrect anyway, as it assumes the current process instead of the inferior. I also add an llgs test to that verifies thread names are read correctly. Reviewers: zturner, krytarowski, emaste Subscribers: lldb-commits, mgorny Differential Revision: https://reviews.llvm.org/D30981 llvm-svn: 298058
-
Alexander Kornienko authored
llvm-svn: 298057
-
Andre Vieira authored
Fixing triple format in the tests added for the branch label fix for Thumb Targets. Also recommitting previously approved patch, see https://reviews.llvm.org/D30943. Reviewed by: samparker Differential Revision: https://reviews.llvm.org/D30987 llvm-svn: 298056
-
Andre Vieira authored
Patch to fix lld tests after my llvm-objdump patch to fix branch labels for Thumb targets. Reviewed by: emaste Differential Revision: https://reviews.llvm.org/D30986 llvm-svn: 298055
-
Tobias Grosser authored
In subsequent changes we will make Polly a little bit more lazy in adding parameter dimensions to different sets. As a result, not all parameters will always be part of the parameter space. This change ensures that we do not use the '-1' returned when a parameter dimension cannot be found, but instead just do not try to eliminate the anyhow non-existing dimension. llvm-svn: 298054
-
Tobias Grosser authored
Since several years, isl can perform most operations on sets with differing parameter spaces, by expanding the parameter space on demand relying using named isl ids to distinguish different parameter dimensions. By not always expanding to full dimensionality the set remain smaller and can likely be operated on faster. This change by itself did not yet result in measurable performance benefits, but it is a step into the right direction needed to ensure that subsequent changes indeed can work with lower-dimensional sets and these sets do not get blown up by accident when later intersected with the domain context. llvm-svn: 298053
-
Alexander Kornienko authored
This fixes http://llvm.org/PR32221. llvm-svn: 298052
-
Craig Topper authored
[AVX-512] Make VEX encoded FMA instructions available when AVX512 is enabled regardless of whether +fma was added on the command line. We weren't able to handle isel of the 128/256-bit FMA instructions when AVX512F was enabled but VLX and FMA weren't. I didn't mask FeatureAVX512 imply FeatureFMA as I wasn't sure I wanted disabling FMA to also disable AVX512. Instead we just can't prevent FMA instructions if AVX512 is enabled. Another option would be to promote 128/256-bit to 512-bit, do the operation and extract it. But that requires a lot of extra isel patterns. Since no CPUs exist that support AVX512, but not FMA just using the VEX instructions seems better. llvm-svn: 298051
-
Craig Topper authored
llvm-svn: 298050
-
Jonas Paulsson authored
New SystemZ tests for the improved codegen of vector compare and select, including cases with a logical combination of two compares. Review: Ulrich Weigand. https://reviews.llvm.org/D29489 llvm-svn: 298049
-
Jonas Paulsson authored
Extend script for auto-generating CHECK lines so that it works for SystemZ. This is a pre-commit for the new tests resulting from https://reviews.llvm.org/D29489 llvm-svn: 298048
-
Jonas Paulsson authored
If one of the subregs of the 128 bit reg is undefined when splitMove() splits a store into two instructions, a use of an undefined physical register results. To remedy this, an implicit use of the super register is added onto both new instructions, along with propagated kill and undef flags. This was discovered with llvm-stress, and that test case is attached as test/CodeGen/SystemZ/splitMove_undefReg_mverifier.ll Thanks to Matthias Braun for helping with a nice explanation. Review: Ulrich Weigand llvm-svn: 298047
-
Craig Topper authored
[AVX-512] Give priority to EVEX encoded scalar FMA instructions when we have FMA, AVX512 and no VLX. We were giving priority if VLX was enabled. llvm-svn: 298046
-
Craig Topper authored
[X86] Use update_llc_test_checks.py to regenerate a test and add command lines to demonstrate that we don't pick EVEX encoded instruction when AVX512 and FMA3 are both enabled. This bug only exists on the scalar llvm.fma instrinsics. Looks like we don't test the llvm.fma intrinsics very thoroughly. In fact I don't see any tests for the vector versions. llvm-svn: 298045
-
Craig Topper authored
llvm-svn: 298044
-
Craig Topper authored
This makes the values a little more consistent between similar instruction and reduces the values some. This results in better grouping in the isel table saving a few bytes. llvm-svn: 298043
-
Craig Topper authored
[AVX-512] Change the input type for some load intrinsics to take void type like the spec (and the test cases say). llvm-svn: 298042
-
Craig Topper authored
[AVX-512] Fix test cases that were using the builtins directly without typecasts instead of the intrinsic header. llvm-svn: 298041
-
Craig Topper authored
[AVX-512] Add missing typecasts and parentheses to _mm512_mask_i64gather_ps. My macro cleanup script I used on the others last year must have missed it. llvm-svn: 298040
-
Dean Michael Berris authored
Fixes a build break when using clang-3.9.1 (reported upstream, post-commit review of D30850). llvm-svn: 298039
-
Peter Collingbourne authored
llvm-svn: 298038
-
Dean Michael Berris authored
Fixes http://llvm.org/PR32313 llvm-svn: 298037
-
Peter Collingbourne authored
This patch causes us to use pruneCache() to prune the ThinLTO cache after completing LTO. A new flag --thinlto-cache-policy allows users to configure the policy. Differential Revision: https://reviews.llvm.org/D31021 llvm-svn: 298036
-
Peter Collingbourne authored
llvm-svn: 298035
-
Peter Collingbourne authored
The MSVC linker doesn't support them. Differential Revision: https://reviews.llvm.org/D31067 llvm-svn: 298034
-
Peter Collingbourne authored
The Archive object owns the memory buffers of any thin archive members, so we need to make sure the object is still in scope when we access archive members. Differential Revision: https://reviews.llvm.org/D31066 llvm-svn: 298033
-
Kostya Serebryany authored
llvm-svn: 298032
-
Kostya Serebryany authored
Summary: Tracking issue: https://github.com/google/oss-fuzz/issues/331 Reviewers: kcc Reviewed By: kcc Differential Revision: https://reviews.llvm.org/D30940 llvm-svn: 298031
-
Kostya Serebryany authored
llvm-svn: 298030
-
Juergen Ributzka authored
This broke GreenDragon: http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA_check/29210/ llvm-svn: 298029
-