- Apr 12, 2022
-
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Mehdi Amini authored
This is a footgun: assigning a null std::function to a function_ref does not yield a null function_ref...
-
Vitaly Buka authored
-
Mehdi Amini authored
This fixes an ASAN failure.
-
Mehdi Amini authored
This reverts commit b4117fed. This broke one of the MLIR bot, a test is failing.
-
Tobias Hieta authored
Otherwise if you try to update the branch with a new /cherry-pick from the same issue you will run into problems similar as to the one shown in this workflow: https://github.com/llvm/llvm-project/runs/5864672298?check_suite_focus=true Reviewed By: tstellar Differential Revision: https://reviews.llvm.org/D123365
-
Carlos Alberto Enciso authored
The change described by: https://reviews.llvm.org/D122226 Moved some llvm-pdbutil functionality to the debug PDB library. This patch addresses a broken '-modi' argument handling, which causes an assertion if its value is other than '0' or '1'. In addition, it moves the assertion for the number of occurrences of the '-modi' argument from the PDB library into the llvm-pdbutil driver. Reviewed By: zequanwu Differential Revision: https://reviews.llvm.org/D123483
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Fangrui Song authored
-
Fangrui Song authored
And remove a -no-opaque-pointers
-
Carl Ritson authored
If the CFG structure of a waterfall loop is not the expected shape then gracefully abort traversing the IR for the given loop. This applies to nest waterfall loops which are not supported by the VGPR live range optimizer. Reviewed By: ruiling Differential Revision: https://reviews.llvm.org/D123480
-
rdzhabarov authored
Differential Revision: https://reviews.llvm.org/D123570
-
Carl Ritson authored
-
Mehdi Amini authored
-
Mehdi Amini authored
-
Uday Bondhugula authored
NFC. Address clang-tidy warning in AffineOps.cpp.
-
Vitaly Buka authored
-
Uday Bondhugula authored
Switch CUDA runtime wrapper for GPU mem alloc/free to async. The semantics of the GPU dialect ops (gpu.alloc/dealloc) and the wrappers it lowered to (gpu-to-llvm) was for the async versions -- however, this was being incorrectly mapped to cuMemAlloc/cuMemFree instead of cuMemAllocAsync/cuMemFreeAsync. Reviewed By: csigg Differential Revision: https://reviews.llvm.org/D123482
-
PoYao Chang authored
According to CWG 1394 and C++20 [dcl.fct.def.general]p2, Clang should not diagnose incomplete types if function body is "= delete;". For example: ``` struct Incomplete; Incomplete f(Incomplete) = delete; // well-formed ``` Also close https://github.com/llvm/llvm-project/issues/52802 Differential Revision: https://reviews.llvm.org/D122981
-
PoYao Chang authored
-
Brad Smith authored
Generic_GCC::IsIntegratedAssemblerDefault() already takes care of CSKY. Reviewed By: zixuan-wu Differential Revision: https://reviews.llvm.org/D123431
-
Peixin-Qiao authored
This supports the threadprivate directive in OpenMP dialect following the OpenMP 5.1 [2.21.2] standard. Also lowering to LLVM IR using OpenMP IRBduiler. Reviewed By: kiranchandramohan, shraiysh, arnamoy10 Differential Revision: https://reviews.llvm.org/D123350
-
jacquesguan authored
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D123487
-
Vitaly Buka authored
-
Eugene Zhulenev authored
Adding annotations on as-needed bases, currently only for memrefCopy, but in general all C API functions that take pointers to memory allocated/initialized inside the jit-compiled code must be annotated, to be able to run with msan. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D123557
-
Liqin Weng authored
Reviewed By: xbolva00, spatel, Chenbing.Zheng Differential Revision: https://reviews.llvm.org/D123486
-
Alexander Shaposhnikov authored
This diff extends foldSelectInstWithICmp to handle the case icmp(X) ? f(X) : C when f(X) is guaranteed to be equal to C for all X in the exact range of the inverse predicate. This addresses the issue https://github.com/llvm/llvm-project/issues/54089. Differential revision: https://reviews.llvm.org/D123159 Test plan: make check-all
-
rdzhabarov authored
Differential Revision: https://reviews.llvm.org/D123558
-
Alexander Shaposhnikov authored
Differential revision: https://reviews.llvm.org/D123430 Test plan: make check-all
-
Craig Topper authored
As far as I know getNode will never return a null SDValue. I'm guessing this was modeled after the FoldConstantArithmetic call earlier. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D123550
-
Vitaly Buka authored
-
Vitaly Buka authored
They didn't match sanitizer_common for 32bit.
-
Matt Arsenault authored
Reject acquire stores and release loads. This matches the restriction imposed by the LLParser and IR verifier.
-
Matt Arsenault authored
Minimizes the test diffs in future changes from introduction of -NEXT.
-
Arthur Eubanks authored
Use the new pass manager. This also removes the ability to run arbitrary sets of passes. Not sure if this functionality is used, but it doesn't seem to be tested. No need to initialize passes outside of constructing the PassBuilder with the new pass manager. Reland: Fixed custom calls to `-lower-matrix-intrinsics` in integration tests by replacing them with `-O0 -enable-matrix`. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D123425
-
LLVM GN Syncbot authored
-
Arthur Eubanks authored
This reverts commit b0f7f6f7. Causes test failures: https://lab.llvm.org/buildbot#builders/61/builds/24879
-
Matt Arsenault authored
This is really a replacement for memSizeInBytesNotPow2 that actually does what most every target wants. In particular, since s1 rounds to 1 byte, it wasn't lowered by this predicate. This results in targets needing to think harder and add more matchers to catch all the degenerate cases. Also small bug fix that prevented the correct insertion of G_ASSERT_ZEXT in the AArch64 use case.
-