- Jan 18, 2021
-
-
Abhina Sreeskantharajan authored
On z/OS, the following error message is not matched correctly in lit tests. This patch updates the CHECK expression to match successfully. ``` EDC5129I No such file or directory. ``` Reviewed By: muiez Differential Revision: https://reviews.llvm.org/D94239
-
Dmitry Preobrazhensky authored
Reviewers: rampitec Differential Revision: https://reviews.llvm.org/D94756
-
Shilei Tian authored
This reverts commit ed939f85.
-
Florian Hahn authored
Keys matching the tombstone/empty special values cannot be inserted in a DenseMap. Under some circumstances, LV tries to add members to an interleave group that match the special values. Skip adding such members. This is unlikely to have any impact in practice, because interleave groups with such indices are very likely to not be vectorized, due to gaps. This issue has been surfaced by fuzzing, see https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11638
-
Tres Popp authored
This reverts commit 26a396c4. See https://reviews.llvm.org/D92071 for a description of the issue.
-
Vladislav Vinogradov authored
Use cross-compilation approach for `mlir-linalg-ods-gen` application similar to TblGen tools. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D94598
-
Simon Pilgrim authored
Use the KnownBits icmp comparisons to determine when a ISD::UMIN/UMAX op is unnecessary should either op be known to be ULT/ULE or UGT/UGE than the other. Differential Revision: https://reviews.llvm.org/D94532
-
Fraser Cormack authored
Original patch by @rogfer01. This patch supports vector truncates, which on RVV must be done in a series of instructions truncating by one power-of-two at a time. This is done through custom-lowering and a custom node to avoid LLVM re-combining the split TRUNCATE nodes. Authored-by:
Roger Ferrer Ibanez <rofirrim@gmail.com> Co-Authored-by:
Fraser Cormack <fraser@codeplay.com> Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D94796
-
Simon Pilgrim authored
If we already have similar horizontal ops using the same args, then match that, even if we are on a target with slow horizontal ops.
-
Raphael Isemann authored
Right now we're using the 'content' role as default which will just render these things as cursive (which isn't really useful for code examples). It also prevents us from assigning a more useful default role in the future.
-
Björn Schäpers authored
That was an oversight. Differential Revision: https://reviews.llvm.org/D93776
-
Georgii Rymar authored
`ELFDumper.cpp` implements the functionality that allows to get symbol versions. It is used for dumping versioned symbols. This helps to implement https://bugs.llvm.org/show_bug.cgi?id=48670 ("make llvm-nm -D print version names"): we can move out and reuse the code from `ELFDumper.cpp`. This is what this patch do: it moves the related functionality to `ELFFile<ELFT>`. Differential revision: https://reviews.llvm.org/D94771
-
Raphael Isemann authored
With this patch there should no longer be any warnings when generating the SB API sphinx docs.
-
Craig Topper authored
[RISCV] Use tail agnostic policy for instructions with tied defs if the use operand is IMPLICIT_DEF. The vcompress intrinsic is defined such that it requires a tail undisturbed policy. This patch makes it so we can use the tail agnostic policy if the user has passed vundefined to the dest operand. We need to do something similar for masked policy, but we need annotation of which instructions use the mask policy first. Not sure if this is sufficient for scheduling or if we'll need to select different pseudos that don't have a tied def. Reviewed By: evandro Differential Revision: https://reviews.llvm.org/D94566
-
Craig Topper authored
RISC-V would like to use a struct of scalable vectors to return multiple values from intrinsics. This woud also be needed for target independent intrinsics like llvm.sadd.overflow. This patch removes the existing restriction for this. I've modified StructType::isSized to consider a struct containing scalable vectors as unsized so the verifier won't allow loads/stores/allocas of these structs. Reviewed By: sdesmalen Differential Revision: https://reviews.llvm.org/D94142
-
Björn Schäpers authored
This allows to ignore for example Qts emit when AlignConsecutiveDeclarations is set, otherwise it is parsed as a type and it results in some misformating: unsigned char MyChar = 'x'; emit signal(MyChar); Differential Revision: https://reviews.llvm.org/D93776
-
Chen Zheng authored
Reassociating some patterns to generate more fma instructions to reduce register pressure. Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D92071
-
Lang Hames authored
This should fix the failures on Release mode testers.
-
Philip Reames authored
-
Philip Reames authored
-
Qiu Chaofan authored
This patch promotes result integer type of FP_TO_XINT in expanding. So crash in conversion from ppc_fp128 to i1 will be fixed. Reviewed By: steven.zhang Differential Revision: https://reviews.llvm.org/D92473
-
Qiu Chaofan authored
As part of the effort to improve AIX support, regression test coverage misses quite a lot for AIX subtarget. This patch adds AIX triple to those don't need extra change, and we can cover more cases in following commits. Reviewed By: steven.zhang Differential Revision: https://reviews.llvm.org/D94159
-
Juneyoung Lee authored
-
Lang Hames authored
This matches current JITLink/MachO behavior and avoids processing currently unsupported relocations.
-
Fangrui Song authored
This decreases the number of runs from 18 to 1.
-
Chen Zheng authored
add one use check to lookThruCopyLike. The root node is safe to be deleted if we are sure that every definition in the copy chain only has one use. Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D92069
-
Chandler Carruth authored
This just checks for `/proc/cpuinfo` existing before reading it. Tested on an ARM macOS machine.
-
Fangrui Song authored
5.1 is the minimum supported version.
-
Pavel Labath authored
The test fails (for different reasons) on these platforms. Skip for now.
-
Nikita Popov authored
The != -1 check does not work correctly for all bitwidths. Use isAllOnesValue() instead.
-
Nikita Popov authored
The sdiv is incorrectly speculated.
-
Stephen Kelly authored
-
Kazu Hirata authored
Identified with readability-const-return-type.
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Raphael Isemann authored
Mostly just making sure the indentation is right (SBDebugger had 0 spaces as it was still plain text, the others had too much indentation or other minor issues).
-
Dávid Bolvanský authored
``` unsigned r(int v) { return (1 | -(v < 0)) * v; } `r` is equivalent to `abs(v)`. ``` ``` define <4 x i8> @src(<4 x i8> %0) { %1: %2 = ashr <4 x i8> %0, { 31, undef, 31, 31 } %3 = or <4 x i8> %2, { 1, 1, 1, undef } %4 = mul nsw <4 x i8> %3, %0 ret <4 x i8> %4 } => define <4 x i8> @tgt(<4 x i8> %0) { %1: %2 = icmp slt <4 x i8> %0, { 0, 0, 0, 0 } %3 = sub nsw <4 x i8> { 0, 0, 0, 0 }, %0 %4 = select <4 x i1> %2, <4 x i8> %3, <4 x i8> %0 ret <4 x i8> %4 } Transformation seems to be correct! ``` Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D94874 -
Dávid Bolvanský authored
-
- Jan 17, 2021
-
-
Raphael Isemann authored
The first line of the doc string ends up on the SB API class summary at the root page of the Python API web page of LLDB. Currently many of the descriptions are missing or are several lines which makes the table really hard to read. This just adds the missing docstrings where possible and fixes the formatting where necessary.
-
Nikita Popov authored
We can fold x*C1/C2 <= x to true if C1 <= C2. This is valid even if the multiplication is not nuw: https://alive2.llvm.org/ce/z/vULors The multiplication or division can be replaced by shifts. We don't handle the case where both are shifts, as that should get folded away by InstCombine.
-