This project is mirrored from https://github.com/llvm-doe-org/llvm-project.git.
Pull mirroring updated .
- 29 Jan, 2023 23 commits
-
-
Simon Pilgrim authored
Fixes clang-tidy warning
-
Simon Pilgrim authored
We try to use X32 for tests on gnux32 triples
-
Simon Pilgrim authored
We try to use X32 for tests on gnux32 triples
-
Simon Pilgrim authored
We try to use X32 for tests on gnux32 triples
-
Simon Pilgrim authored
For 32/64-bit element 256-bit X86ISD::BLENDI shuffle masks, see if each sub-lane only references (plus undefs) a single input - in which case ensure the blend mask component for that lane ONLY references that input. This helps later subvector extraction/insertion nodes to peek through the blend node for that lane.
-
Matt Arsenault authored
-
Ivan Butygin authored
Differential Revision: https://reviews.llvm.org/D142810
-
Simon Pilgrim authored
[X86] lowerShuffleAsLanePermuteAndRepeatedMask - retain the per-lane undef elements and don't just copy the repeated mask lowerShuffleAsLanePermuteAndRepeatedMask expands a shuffle from shuffle(x,y,mask) to shuffle(shuffle(x,y,lanemask1),shuffle(x,y,lanemask2),repeatedinlanemask) However, we weren't making use of the fact that elements of the original mask might be undef - instead of fully applying the entire repeatedinlanemask to every lane, we can simplify the mask if we never demanded that element in the original mask. Yet another improvement addressing regressions from D127115 Differential Revision: https://reviews.llvm.org/D142536
-
Emmmer authored
RVV stands for "RISC-V V Extension", which adds 32 vector registers, and seven unprivileged CSRs (vstart, vxsat, vxrm, vcsr, vtype, vl, vlenb) to a base scalar RISC-V ISA. The base vector extension is intended to provide general support for data-parallel execution within the 32-bit instruction encoding space, with later vector extensions supporting richer functionality for certain domains. Reviewed By: DavidSpickett, kito-cheng Differential Revision: https://reviews.llvm.org/D141898
-
Ben Shi authored
Reviewed By: aykevl, MaskRay Differential Revision: https://reviews.llvm.org/D141197
-
Ben Shi authored
This patch fixes the inaccurate decoding of the offset operand of the conditional branch instructions. Reviewed By: aykevl Differential Revision: https://reviews.llvm.org/D140816
-
Kazu Hirata authored
If X is nonzero, NextPowerOf2(X - 1) is equivalent to llvm::bit_ceil(X). In this patch, std::max guarantees that X is nonzero.
-
Craig Topper authored
These two pieces of code were using a switch with a single case and a default that always returned. Replace with an if statement that early returns.
-
Liming Liu authored
-
Craig Topper authored
Differential Revision: https://reviews.llvm.org/D142596
-
Liming Liu authored
D137531 had once fixed the issue. However, it caused a crash during compiling llvm/unittests/IR/PatternMatch.cpp in stage-2. The reason is the predicator isDerivedFrom does not consider independent types if the derived type is dependent. This patch improves D137531 by adding an option to make isDerivedFrom consider independent types. Differential Revision: https://reviews.llvm.org/D142437
-
Lang Hames authored
Index 0 is reserved for anonymous symbols, which can't have the N_EXT bit set (since N_EXT means non-local scope, and non-local scope requires a name).
-
Matt Arsenault authored
Cleanup leftover typed pointer handling.
-
Peter Klausler authored
A test is crashing the compiler unexpectedly when built with MSVC; disable it with an XFAIL until it can be analyzed further.
-
Peter Klausler authored
f18 current ignores attempts to initialize (with =expr) things that are not objects, or allows meaningless initializations of things that have mistakenly been promoted to be objects. Fix by refusing to promote to objects names that have any attributes that cannot be applied to objects, and then catch data initializations of symbols that are not objects. Differential Revision: https://reviews.llvm.org/D142766
-
Matt Arsenault authored
This will allow tablegen to start directly marking intrinsics as dereferenceable in a useful way. Not sure if callsites should override or use the max.
-
Alexander Shaposhnikov authored
This diff extends D123345 by adding support for std::forward_like. Test plan: ninja check-clang check-clang-tools check-llvm Differential revision: https://reviews.llvm.org/D142430
-
Kazu Hirata authored
Note that: std::has_single_bit(X) ? X : llvm::NextPowerOf2(X); is equivalent to: std::bit_ceil(X) even for input 0.
-
- 28 Jan, 2023 17 commits
-
-
Shilei Tian authored
Fix #60248. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D142819
-
Peter Klausler authored
Semantics can catch out-of-range subscript values already when they appear in DATA statement objects and constant folding of name constant array indexing; this patch fills the gap by checking known constant subscript values in other contexts. Differential Revision: https://reviews.llvm.org/D142764
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Florian Hahn authored
This reverts commit 024115ab. I suspect that this may be causing some buildbot bootstrapping failures. Revert while I investigate.
-
Kazu Hirata authored
-
Akash Banerjee authored
This enables conversion of OpenMP Target Data, Enter Data and Exit Data from FIR Dialect to LLVM IR Dialect. Differential Revision: https://reviews.llvm.org/D142629
-
Kazu Hirata authored
It takes less code (in C++ and the host assembly) to get rid of the trailing zeros and compare against {3,5,9} than divide the immediate by {3,5,9} and check to see if we have a power of 2.
-
Amir Ayupov authored
Instead of creating an extra clang-bolt binary and clang++-bolt symlink, replace the original clang binary with BOLT-optimized one. This fixes the issue with installing optimized binary as `install-clang` target now copies the new version. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D139454
-
Kazu Hirata authored
-
Kazu Hirata authored
-
Peter Klausler authored
A fixed form continuation line should not be the first line of a statement; emit a warning if it looks like one is so that the programmer can look for a missing card. Differential Revision: https://reviews.llvm.org/D142763
-
Peter Klausler authored
A function in a defined operator generic interface will syntactically have one or two arguments. If a defined operator includes a specific function with 0 or more than 2 dummy arguments, there's no way that it could be invoked by way of the interface. Emit a warning. Differential Revision: https://reviews.llvm.org/D142762
-
Florian Hahn authored
Extend the NUW/NSW inference logic add in 72121a20cd and cdeaf5f28c3dc to all overflowing binary operators. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D142721
-