- Jan 25, 2022
-
-
Matthias Springer authored
This is mostly a copy of the existing tensor.from_elements bufferization. Once TensorInterfaceImpl.cpp is moved to the tensor dialect, the existing rewrite pattern can be deleted. Differential Revision: https://reviews.llvm.org/D117775
-
Matthias Springer authored
This is mostly a copy of the existing tensor.generate bufferization. Once TensorInterfaceImpl.cpp is moved to the tensor dialect, the existing rewrite pattern can be deleted. Differential Revision: https://reviews.llvm.org/D117770
-
Nikita Popov authored
When fetching the function, strip casts. When casting the result, use the call result type. Don't actually inspect the bitcast.
-
Marek Kurdej authored
As discussed in https://reviews.llvm.org/D118105#3268773, OptionalStorage has been changed in commit https://github.com/llvm/llvm-project/commit/fb9730575086b3c2ba38a1aabf3106b01339888b, but the visualizer still tries to use old members. Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D118117
-
Matthias Springer authored
This fixes a linker error related to ModuleBufferization.cpp. Differential Revision: https://reviews.llvm.org/D118127
-
Pavel Labath authored
I forgot to update ProcessWindowsLog to the new API.
-
Pavel Labath authored
This is exactly that kind of a API misuse that the patch was meant to detect.
-
Simon Pilgrim authored
-
Danila Malyutin authored
Adds patterns to match integer loads/stores bitcasted to fp values Fixes https://github.com/llvm/llvm-project/issues/52927 Differential Revision: https://reviews.llvm.org/D117573
-
Paul Walker authored
NOTE: This patch also includes tests that highlight those cases where the existing DAG combine doesn't yet work well for SVE. Differential Revision: https://reviews.llvm.org/D117873
-
Nikita Popov authored
This is what CreateNonTerminatorUnreachable() in InstCombine uses. Specific choice here doesn't really matter, but we should pick one that is pointer element type independent.
-
Nikita Popov authored
-
Nikita Popov authored
The code already checked that the addrec step size and type alloc size are the same. The actual pointer element type is irrelevant here.
-
Simon Pilgrim authored
Now that we constant fold and canonicalize constants to the RHS, we don't need to check both LHS and RHS for specific constants
-
Simon Pilgrim authored
-
Nikita Popov authored
In favor of LLVMBuildPtrDiff2(), which accepts an explicit element type and is compatible with opaque pointers.
-
Nikita Popov authored
For opaque pointer compatibility, we cannot derive the element type from the pointer type.
-
Sven van Haastregt authored
Ensure any use of a `read_write` image is guarded behind the `__opencl_c_read_write_images` feature macro. Differential Revision: https://reviews.llvm.org/D117899
-
Nikita Popov authored
Rather than checking ptrdiff(a, b) != 0, directly check a != b.
-
Adrian Kuegel authored
-
Chuanqi Xu authored
Use llvm.coro.align to align coroutine frame properly. Reviewed By: bkramer Differential Revision: https://reviews.llvm.org/D117978
-
Bjorn Pettersson authored
An sra is basically sign-extending a narrower value. Fold away the shift by doing a sextload of a narrower value, when it is legal to reduce the load width accordingly. Differential Revision: https://reviews.llvm.org/D116930
-
Pavel Labath authored
realpath is too aggressive and does not produce the desired effect if ones build folder is a symlink farm.
-
Pavel Labath authored
This patch makes use of c++ type checking and scoped enums to make logging statements shorter and harder to misuse. Defines like LIBLLDB_LOG_PROCESS are replaces with LLDBLog::Process. Because it now carries type information we do not need to worry about matching a specific enum value with the right getter function -- the compiler will now do that for us. The main entry point for the logging machinery becomes the GetLog (template) function, which will obtain the correct Log object based on the enum type. It achieves this through another template function (LogChannelFor<T>), which must be specialized for each type, and should return the appropriate channel object. This patch also removes the ability to log a message if multiple categories are enabled simultaneously as it was unused and confusing. This patch does not actually remove any of the existing interfaces. The defines and log retrieval functions are left around as wrappers around the new interfaces. They will be removed in follow-up patch. Differential Revision: https://reviews.llvm.org/D117490
-
Fraser Cormack authored
This patch adds widening support for ISD::VP_MERGE, which widens identically to VP_SELECT and similarly to other select-like nodes. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D118030
-
Nikita Popov authored
Same cases where the call can be removed in a straightforward way.
-
Simon Tatham authored
The following SubtargetFeatures are removed from the definition of HasV8_0rOps, on the grounds that they are optional in Armv8.4-A, and therefore (by the definition of Armv8.0-R) also optional in v8.0-R: * performance monitoring: FeaturePerfMon * cryptography: FeatureSM4 and FeatureSHA3 * half-precision FP: FeatureFullFP16, FeatureFP16FML * speculation control: FeatureSSBS, FeaturePredRes, FeatureSB, FeatureSpecRestrict This isn't the full set of features that are listed as optional in the spec. FeatureCCIDX and FeatureTRACEV8_4 are also optional. But LLVM includes those in HasV8_3aOps and HasV8_4aOps respectively (I think on the grounds that the system registers they enable are useful to be able to access after a runtime check), and so for consistency, I've left those in HasV8_0rOps too. After this commit, HasV8_0rOps is a strict subset of HasV8_4aOps (but missing features that are not in Armv8.0-R at all). The definition of Cortex-R82 is correspondingly updated to add most of the features that I've removed from base Armv8.0-R (with the exception of the cryptography ones), since that particular implementation of v8.0-R does have them. Reviewed By: dmgreen Differential Revision: https://reviews.llvm.org/D118045
-
Benjamin Kramer authored
These are all picked up transitively, but fail with --features=layering_check, which enforces header dependencies.
-
Victor Perez authored
-
Fraser Cormack authored
This patch adds splitting support for ISD::VP_MERGE, which splits identically to VP_SELECT and similarly to other select-like nodes. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D118032
-
Dávid Bolvanský authored
This reverts commit e2f8d28a.
-
Dávid Bolvanský authored
-
Hsiangkai Wang authored
To avoid listing all the bit containers in the title and do not use the specific number for the number of bit containers. Differential Revision: https://reviews.llvm.org/D117849
-
Hsiangkai Wang authored
In "Other Set-Like Container Options": * Drops the references to C++ TR1 and SGI and hash_set. * Drops the worry about portability (this was a problem with hash_set, but std::unordered_set has worked portably since LLVM started depending on C++11). It is similar in "Other Map-Like Container Options" section. Differential Revision: https://reviews.llvm.org/D117858
-
Victor Perez authored
Split these nodes in a similar way as their masked versions. Reviewed By: frasercrmck, craig.topper Differential Revision: https://reviews.llvm.org/D117760
-
David Sherwood authored
Given how small the function is and how often it gets used it makes more sense to live in the header file. Differential Revision: https://reviews.llvm.org/D117883
-
Nikita Popov authored
This deprecates PointerType::getElementType() in favor of Type::getPointerElementType(). The motivation is to make it more apparent when code accesses the pointer element type, because getElementType() may also also refer to at least ArrayType::getElementType() and VectorType::getElementType(). Differential Revision: https://reviews.llvm.org/D117885
-
Nikita Popov authored
Replace more uses which I missed in the first pass with Type::getPointerElementType().
-
Nikita Popov authored
Instead use either Type::getPointerElementType() or Type::getNonOpaquePointerElementType(). This is part of D117885, in preparation for deprecating the API.
-
Chuanqi Xu authored
There is a comment contains a FIXME for the Module TS. And now the Module TS is merged so we should update the comment. I've checked the implementation.
-