- Jan 20, 2023
-
-
v1nh1shungry authored
Relevant issue: https://github.com/llvm/llvm-project/issues/59771 During the instantiation of a generic lambda, a non-generic lambda in the trailing `decltype` is a `DeclContext` but not a dependent context, so we shouldn't call `PerformDependentDiagnostics` on it. Differential Revision: https://reviews.llvm.org/D140838
-
Matthias Springer authored
There are now three options: * `AnyOp` (previously `false`) * `ExistingAndNewOps` (previously `true`) * `ExistingOps`: this one is new. The last option corresponds to what the `applyOpPatternsAndFold(Operation*, ...)` overload is doing. It is now also supported on the `applyOpPatternsAndFold(ArrayRef<Operation *>, ...)` overload. Differential Revision: https://reviews.llvm.org/D141904
-
Timm Bäder authored
for local variables. Hoping this will please msan.
-
Nikita Popov authored
This header uses std::int8_t, but does not include cstdint. This fixes the build against libstc++ 13, where some indirect header includes have been removed.
-
Sergey Kachkov authored
Improve findDominatingLoad implementation: 1. Result is saved into gvn::AvailableValue struct 2. Search is done in extended BB (while there is a single predecessor or limit is reached) Differential Revision: https://reviews.llvm.org/D141680
-
Viktoriia Bakalova authored
Differential Revision: https://reviews.llvm.org/D141855
-
Kristof Beyls authored
-
Craig Topper authored
This reverts commit 928a1764. Committed accidentally
-
Craig Topper authored
-
Craig Topper authored
This is an alternative to D141074 to fix the problem by adjusting the precision control dynamically. This isn't quite complete yet. I want to support fadd with an load folded into it too. That's the code we will usually generate. Posting for early review so we can do some testing of this solution. Differential Revision: https://reviews.llvm.org/D142178
-
Nicolas Vasilache authored
This transform is complementary to the `structured.pack` op which allows packing a whole op but does not allow transposes on the individual operands. `structured.pack_transpose` allows transposing single operands connected to pack or unpack ops after the fact. This makes the system overall more composable than e.g. a giant transform op with all permutation specified at once. Differential Revision: https://reviews.llvm.org/D142053
-
Nicolas Vasilache authored
Properly handle `appendMangledType` failure instead of asserting. Fixes #59986.
-
Nicolas Vasilache authored
c3f0efe7 lacked a test, added here.
-
Kadir Cetinkaya authored
-
Uday Bondhugula authored
Replace a couple of check instances with llvm::any_of (clang-tidy warnings). Factor out "canCreatePrivateMemRef" and "performFusionsIntoDest" into separate methods to reduce the length/indent of the containing methods. Add doc comments and debug messages. Mark some of the methods that should have been const const. NFC. Reviewed By: vinayaka-polymage Differential Revision: https://reviews.llvm.org/D142076
-
Nicolas Vasilache authored
Use rewriter.notifyMatchFailure instead of assert. Fixes #59986.
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D138413
-
Kazu Hirata authored
This restores builds with gcc-9, which does not have __has_builtin.
-
Lang Hames authored
In LLVM the MachOPlatform class is modified to identify unwind info sections and the address ranges of the functions these sections cover. These address ranges are then communicated to the ORC runtime by attaching them to the register-object-platform-sections allocation action. In the ORC runtime the unwind-info section addresses are recorded and used to support lookup of unwind info via the new `findDynamicUnwindSections` function. At bootstrap time the ORC runtime checks for the presence of new unwind-info-lookup-registration functions in libunwind (see https://reviews.llvm.org/D142176), and if available uses them to register the `findDynamicUnwindSections` function with libunwind to enable callback-based lookup. If the new unwind-info-lookup-registration functions are not available then the ORC runtime falls back to using the existing libunwind registration APIs. The callback-based scheme is intended to address three shor...
-
Nikolas Klauser authored
-
Craig Topper authored
This reverts commit a6e3027d. Chrome and Halide are both reporting issues with importing builtins. Maybe the better direction is to manually adjust FPCW for the inline sequence on Windows.
-
Kazu Hirata authored
This patch provides C++20-style countl_zero, countr_zero, countl_one, and countr_one in bit.h. Existing functions like countLeadingZeros become wrappers around the new functions. Note that I cannot quite declare countLeadingZeros as: template <class T> using countLeadingZeros = countl_zero<T>; because countl_zero returns int, whereas countLeadingZeros returns unsigned. Differential Revision: https://reviews.llvm.org/D142078
-
LLVM GN Syncbot authored
-
Nikolas Klauser authored
`_LIBCPP_REMOVE_TRANSITIVE_INCLUDES` doesn't do anything anymore in C++23 mode, so it's now just a duplicate of the C++23 configuration. Also add new steps to the post-release checklist for updating the supported compilers. Reviewed By: ldionne, #libc Spies: arichardson, libcxx-commits, arphaman Differential Revision: https://reviews.llvm.org/D133364
-
Nikolas Klauser authored
Reviewed By: ldionne, var-const, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D137637
-
Advenam Tacet authored
Simple typo fix. The absence of this colon may be confusing and result in misinterpretation of the result. In normal libfuzzer mode, that colon is present. You can compare with: https://github.com/llvm/llvm-project/blob/aa0e9046c16bf27a8affbd903e2e3cad924a5217/compiler-rt/lib/fuzzer/FuzzerLoop.cpp#L356 Reviewed By: #sanitizers, vitalybuka Differential Revision: https://reviews.llvm.org/D142171
-
Shilei Tian authored
Fix #58087. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D142075
-
Yaxun (Sam) Liu authored
Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D142118
-
Charles Magahern authored
FastEvaluateAsRValue returns `true` without setting a result value for when a given constant expression is an array or record type. Clang attributes must be able to support constant expressions that are array or record types, so proceed with the slower path for evaluation in the case where `FastEvaluateAsRValue` does not yield an evaluation result. Differential Revision: https://reviews.llvm.org/D141745
-
Matt Arsenault authored
-
Ben Shi authored
Fixes https://github.com/llvm/llvm-project/issues/58879 Reviewed By: aykevl Differential Revision: https://reviews.llvm.org/D142096
-
River Riddle authored
Add a specific class for local scope attributes and remove some unnecessary casts.
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
-
Matt Arsenault authored
Some of these were relying on ReducerWorkItem's operator Module&.
-
Jonas Devlieghere authored
Re-enable the xmm/ymm/zmm tests now that the system debugserver used by our CI is capable or writing xmm/ymm/zmm registers.
-
Nico Weber authored
This reverts commit 8d498e08. a033dbbe was reverted in cf127092.
-