- Mar 17, 2017
-
-
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
-
Sanjoy Das authored
We were not handling getelemenptr instructions of vector type before. Since getelemenptr instructions for vector types follow the same rule as getelementptr instructions for non-vector types, we can just handle them in the same way. llvm-svn: 298028
-
Argyrios Kyrtzidis authored
[Serialization] Follow-up to r297972, deserialize name/loc in separate statements to make sure they deserialize in defined order. This should fix the windows bots. llvm-svn: 298027
-
Zachary Turner authored
For some reason this is causing ANSI color codes to be printed even when run through FileCheck. llvm-svn: 298026
-
Matthias Braun authored
- This fixes a bug where subregister incompatible with the vregs register class where used. - Implement the case where multiple copies are necessary to cover a given lanemask. Differential Revision: https://reviews.llvm.org/D30438 llvm-svn: 298025
-
Matthias Braun authored
This fixes two problems when VirtRegMap encounters bundles: - When substituting a vreg subregister def with an actual register the internal read flag must be cleared. - Removing an identity COPY from a bundle needs to use removeFromBundle() and a newly introduced function to update SlotIndexes. No testcase here, because none of the in-tree targets trigger this, however an upcoming commit of mine will need this and the testcase there will trigger this. Differential Revision: https://reviews.llvm.org/D30925 llvm-svn: 298024
-
Eric Christopher authored
associated command line options and functions - it's currently unused in all of llvm and clang other than being set and reset. llvm-svn: 298023
-
Eric Christopher authored
unused anywhere in llvm. llvm-svn: 298022
-