- May 25, 2023
-
-
Hristo Hristov authored
Removed `inline` specifier for consistency as discussed in D148416 previously. Reviewed By: #libc, Mordante Differential Revision: https://reviews.llvm.org/D151248
-
Martin Braenne authored
This is the most common use case, so it makes sense to have a specific overload for it. Reviewed By: xazax.hun Differential Revision: https://reviews.llvm.org/D151183
-
Matthias Springer authored
Encapsulate all worklist-related functionality in a separate `Worklist` class. This makes the remaining code more readable and allows for custom worklist implementations (e.g., a randomized worklist for fuzzing pattern application: D142447). Differential Revision: https://reviews.llvm.org/D151345
-
Petr Hosek authored
This option was introduced in GNU ld in https://sourceware.org/legacy-ml/binutils/2015-06/msg00086.html and is often used in embedded development. This change implements this option in LLD matching the GNU ld output verbatim. Differential Revision: https://reviews.llvm.org/D150644
-
Matthias Springer authored
Incorrect API usage was detected by `MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS`. Differential Revision: https://reviews.llvm.org/D151302
-
eopXD authored
This commit updates all intrinsics under `clang/test/CodeGen/RISCV/rvv-intrinsics-autogenerated` because the new script of `update_llc_test_checks.py` is generating many new lines differently. This NFC commit updates the test cases in a whole batch. Signed-off by: eop Chen <eop.chen@sifive.com>
-
Siva Chandra Reddy authored
Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D151354
-
Siva Chandra Reddy authored
We want to do this so that build system like ninja don't end up running the hermetic and unit tests in parallel. Running in parallel can cause problems for tests which read/write disk files as the hermetic and unit tests can end up stepping on each other. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D151291
-
Shao-Ce SUN authored
This patch was split from D122918 . Co-Author: @StephenFan @liaolucy @realqhc Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D149743
-
Sergei Barannikov authored
D151036 adds an assertions that prohibits iterating over sub- and super-registers of a null register. This is already the case when iterating over register units of a null register, and worked by accident for sub- and super-registers. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D151285
-
Siva Chandra Reddy authored
This is largely a cosmetic change done with a few goals: 1. Reduce the conditionals in picking the correct set of tables for the platform. 2. Avoid exposing, for example Linux errors, when building for non-Linux platforms. This also prevents build failures when Linux errors are not defined on the target non-Linux platform. 3. Some "_table" suffixes have been removed to avoid repeated occurance of "table" like "tables/linux_error_table.h". Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D151367
-
Aart Bik authored
(1) keep all cuSparse ops on single stream without wait() in right order (2) use more type precise memref types for COO (3) use ToTensor on resulting memref (even though it folds away again) Reviewed By: K-Wu Differential Revision: https://reviews.llvm.org/D151404
-
Md Abdullah Shahneous Bari authored
Add the definitions and necessary verifications of these Ops. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D151074
-
Thurston Dang authored
This has been causing substantial redness in the buildbots e.g., https://lab.llvm.org/buildbot/#/builders/239/builds/2405 which already contained a commit to deflake the test (https://github.com/llvm/llvm-project/commit/3afd1b2c357fb5353084a736d885af60115d6acb). Temporarily disabling the test to prevent this error from hiding other potential problems.
-
Sergei Barannikov authored
D151036 adds an assertions that prohibits iterating over sub- and super-registers of a null register. This is already the case when iterating over register units of a null register, and worked by accident for sub- and super-registers. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D151288
-
Sergei Barannikov authored
D151036 adds an assertions that prohibits iterating over sub- and super-registers of a null register. This is already the case when iterating over register units of a null register, and worked by accident for sub- and super-registers. The only place where the assertion is currently triggering is in CriticalAntiDepBreaker::ScanInstruction. Other places are changed in case new assertions are added and should be harmless otherwise.
-
Sergei Barannikov authored
This reverts commit d41f6cff. The commit contained wrong phabricator link.
-
Manna, Soumi authored
Reported by Static Analyzer Tool, Coverity: Inside "SemaDeclCXX.cpp" file, in clang::Sema::CheckExplicitlyDefaultedSpecialMember(clang::CXXMethodDecl *, clang::Sema::CXXSpecialMember, clang::SourceLocation): Return value of function which returns null is dereferenced without checking. //returned_null: getAs returns nullptr (checked 117 out of 143 times). // var_assigned: Assigning: Type = nullptr return value from getAs. const FunctionProtoType *Type = MD->getType()->getAs<FunctionProtoType>(); //Dereference null return value (NULL_RETURNS) //dereference: Dereferencing a pointer that might be nullptr Type when calling getReturnType. ReturnType = Type->getReturnType(); //Dereference null return value (NULL_RETURNS) //dereference: Dereferencing a pointer that might be nullptr Type when calling getParamType. QualType ArgType = ExpectedParams ? Type->getParamType(0) : QualType(); This patch uses castAs instead of getAs which will assert if the type doesn't match. Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D151281
-
Rahul Kayaith authored
This fixes a -Wunused-member-function warning, at the moment `PyRegionIterator` is never constructed by anything (the only use was removed in D111697), and iterating over region lists is just falling back to a generic python iterator object. Reviewed By: stellaraccident Differential Revision: https://reviews.llvm.org/D150244
-
Enna1 authored
This patch adds nosantize metadata to memory access instructions inserted by gcov emitProfileNotes(), making sanitizers skip these instructions when gcov and sanitizer are used together. Reviewed By: nickdesaulniers Differential Revision: https://reviews.llvm.org/D150460
-
Rahul Kayaith authored
Currently blocks are always created with UnknownLoc's for their arguments. This adds an `arg_locs` argument to all block creation APIs, which takes an optional sequence of locations to use, one per block argument. If no locations are supplied, the current Location context is used. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D150084
-
Vitaly Buka authored
Reviewed By: thurston Differential Revision: https://reviews.llvm.org/D150407
-
Hanhan Wang authored
If the input vector sizes are as same as tensor.pad result shape, the masking is not needed. Otherwise, the masking is needed and the masking operands should be as same as tensor.empty op. Reviewed By: dcaballe Differential Revision: https://reviews.llvm.org/D151391
-
Vitaly Buka authored
__sanitizer_get_current_allocated_bytes had as body, but allocator caches were not registered to collect stats. It's done by SizeClassAllocator64LocalCache::Init(). Reviewed By: thurston Differential Revision: https://reviews.llvm.org/D151389
-
Aart Bik authored
Test was printing same result twice Reviewed By: K-Wu Differential Revision: https://reviews.llvm.org/D151370
-
Kai Sasaki authored
Since the tosa-to-linalg conversion does not support the quant dialect type, we can treat it as unsupported instead of crash. Issue was reported https://github.com/llvm/llvm-project/issues/62367 Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D151296
-
Craig Topper authored
[RISCV] Add a special caes to performVFMADD_VLCombine to support the multiplicand being the same value. The one use check will fail if there are two uses in the same instruction. Add a special case for this.
-
Thurston Dang authored
Currently, the header file contains all the undefs, followed by all the define X 0. This will be inconvenient for re-enabling interceptors, because we would need to comment out (or delete) the corresponding macros in two different places. This patch groups together the macros for each function. Additionally, it adds the suggestion that interceptors should be re-enabled by commenting out (not deleting) the macros. Differential Revision: https://reviews.llvm.org/D151371
-
Vitaly Buka authored
Msan reports https://reviews.llvm.org/P8308 The reason is if PointerIntPair is not properly constructed, setPointer uses Info::updatePointer on uninitialized value. Reviewed By: #clang, rsmith Differential Revision: https://reviews.llvm.org/D150504
-
Md Abdullah Shahneous Bari authored
"LinkageAttributes" decoration allow a SPIR-V module to import external functions and global variables, or export functions or global variables for other SPIR-V modules to link against and use. Import/export capability is extremely important when using outside libraries (e.g., intrinsic libraries). Added decorations: - LinkageAttributes Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D148749
-
eopXD authored
-
Vitaly Buka authored
-
Craig Topper authored
The patterns are for a vpmerge with an all 1s mask, but we are able to handle that with a post-isel peephole recently.
-
Slava Zakharin authored
This change just turns the unhandled BOZ fatal error into TODO like in non-HLFIR path.
-
Vitaly Buka authored
-
Vitaly Buka authored
-
Rashmi Mudduluru authored
Differential Revision: https://reviews.llvm.org/D145739
-
Vitaly Buka authored
This allow to have no InitLinkerInitialized and let AllocatorGlobalStats accept registration before allocator initialization.
-
Lei Zhang authored
ShapedType is a virtual type rather than a concrete one. We don't have an implmentation for this API too. Reviewed By: makslevental Differential Revision: https://reviews.llvm.org/D151376
-
Peng Sun authored
Aligns the shift requirement with the TOSA specification. Reviewed By: eric-k256 Differential Revision: https://reviews.llvm.org/D151113
-