- Feb 11, 2023
-
-
Vlad Serebrennikov authored
This reverts commit d0e24f0c.
-
Vlad Serebrennikov authored
[[ https://wg21.link/p1787 | P1787 ]]: "CWG2165 is resolved by removing the conflicting definition of it in [basic.scope]." Wording: [basic.namespace]/p1 changed and [basic.scope.declarative] removed entirely Reviewed By: #clang-language-wg, cor3ntin Differential Revision: https://reviews.llvm.org/D142717
-
Tue Ly authored
Update macros/optimization.h build dependency for CMake and Bazel. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D143805
-
Tue Ly authored
-
Tue Ly authored
Summary: See https://github.com/llvm/llvm-project/issues/60666 Reviewers: Subscribers:
-
Argyrios Kyrtzidis authored
Follow-up to https://reviews.llvm.org/D142279 for also enabling `libc++` assertions. This is particularly useful to recover the assertion checks we had with `llvm::Optional`, before moving to `std::optional`. Differential Revision: https://reviews.llvm.org/D143612
-
Augusto Noronha authored
-
Augusto Noronha authored
In situations where only LLDB is ASANified, a false positive occurs unless ASAN_OPTIONS=detect_container_overflow=0 is set in the environment. Differential Revision: https://reviews.llvm.org/D143772
-
Jonas Devlieghere authored
This is a preparatory patch to add an SB API to get the progress data as SBStructuredData. The advantage of using SBStructuredData is that the dictionary can grow over time with more fields. This approach is identical to the way this is implemented for diagnostic events. Differential revision: https://reviews.llvm.org/D143687
-
Peiming Liu authored
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D143672
-
Peiming Liu authored
An inverse operation of sparse_tenosr::pack Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D143669
-
Louis Dionne authored
We don't support std::function in C++03 anymore, and the test had started failing due to compilation errors instead of the ABI bug it was supposed to demonstrate.
-
Fangrui Song authored
-
Aart Bik authored
Example did not have correct shapes. Also the operation has no side effects (since it slaps a clean SSA tensor around the data). Reviewed By: Peiming, wrengr Differential Revision: https://reviews.llvm.org/D143679
-
Marco Elver authored
%clang and %clang_cc1 have different behaviour, and with -Assert %clang seems to not match +Assert behaviour. Fix it by switching to %clang_cc1 for the test. Fixes: 421215b9 ("[SanitizerBinaryMetadata] Support ignore list")
-
Slava Zakharin authored
There are two ways to interrupt flang when a TODO is hit: abort or exit with non-zero exit code. Abort implies printing the backtrace and "PLEASE submit a bug report" message. We used to use abort only in debug compiler build. Since the TODOs are already known problems it may be counterproductive to ask debug compiler users to submit bug reports. In addition, the TODO messages are pretty self-explanatory, so the backtrace printing seems to be redundant. This change makes all TODOs non-aborting. I added TODO_.*TRACE macros for TODOs that may benefit from the backtrace and the "bug report" message in the debug compiler. These macros are currently unused. Differential Revision: https://reviews.llvm.org/D143761
-
Michael Buch authored
This reverts commit b296ddd9.
-
Michael Buch authored
This reverts commit f889d6f9.
-
Louis Dionne authored
Also, since it is only used in two tests that are C++11/C++14 tests only, I don't think it is worth keeping around in test_allocator.h.
-
Alex Brachet authored
In reality this would have always been fine because main's stack frame will always be live when another thread is executing the cc1_reproducer_main. But ASan and HWASan were upset
-
Fangrui Song authored
-
Lang Hames authored
This commit adds support for a new callback-based lookup scheme for unwind info that was inspired by the `_dyld_find_unwind_info_sections` SPI that libunwind uses to find unwind-info in non-JIT'd frames. From llvm-project/libunwind/src/AddressSpace.hpp: ``` struct dyld_unwind_sections { const struct mach_header* mh; const void* dwarf_section; uintptr_t dwarf_section_length; const void* compact_unwind_section; uintptr_t compact_unwind_section_length; }; extern bool _dyld_find_unwind_sections(void *, dyld_unwind_sections *); ``` During unwinding libunwind calls `_dyld_find_unwind_sections` to both find unwind section addresses and identify the subarchitecture for frames (via the MachO-header pointed to by the mh field). This commit introduces two new libunwind SPI functions: ``` struct unw_dynamic_unwind_sections { unw_word_t dso_base; unw_... -
Martin Storsjö authored
Don't use the ldrd instruction; that one requires armv5te. Instead do two separate loads (or only one if OMPT_SUPPORT isn't defined). This should fix https://github.com/llvm/llvm-project/issues/60370. Differential Revision: https://reviews.llvm.org/D143683
-
Frederik Gossen authored
Differential Revision: https://reviews.llvm.org/D143774
-
Craig Topper authored
-
Jay Foad authored
These are similar to hardware registers already added for GFX940, but with different numbers and slightly different names. Differential Revision: https://reviews.llvm.org/D143740
-
AmosLewis authored
Add TOSA f64 type support for cast op Reviewed By: eric-k256 Differential Revision: https://reviews.llvm.org/D142599
-
Markus Böck authored
See https://github.com/llvm/llvm-project/issues/57475 for more context. Using auto-generated constructors and options has significant advantages: * It forces a uniform style and expectation for consuming a pass * It allows to very easily add, remove or change options to a pass by simply making the changes in TableGen * Its less code This patch in particular ports all the conversion passes which lower to LLVM to use the auto generated constructors and options. For the most part, care was taken so that auto generated constructor functions have the same name as they previously did. Only following slight breaking changes (which I consider as worth the churn) have been made: * `mlir::cf::createConvertControlFlowToLLVMPass` has been moved to the `mlir` namespace. This is consistent with basically all conversion passes * `createGpuToLLVMConversionPass` now takes a proper options struct array for its pass options. The pass options are now also autogenerated. * `LowerVectorToLLVMOptions` has been replaced by the autogenerated `ConvertVectorToLLVMPassOptions` which is automatically kept up to date by TableGen * I had to move one function in the GPU to LLVM lowering as it is used as default value for an option. * All passes that previously returned `unique_ptr<OperationPass<...>>` now simply return `unique_ptr<Pass>` Differential Revision: https://reviews.llvm.org/D143773
-
Alex Brachet authored
Differential Revision: https://reviews.llvm.org/D137800
-
Alex Brachet authored
Differential Revision: https://reviews.llvm.org/D137799
-
Rahman Lavaee authored
D100808 implemented the new version, but kept version 1 as the emitted version. This patch changes the version to 2 and updates the codegen tests. Differential Revision: https://reviews.llvm.org/D139799
-
Konstantin Varlamov authored
Differential Revision: https://reviews.llvm.org/D143245
-
Changpeng Fang authored
Summary: This is part of the leftover work for https://reviews.llvm.org/D143138. In this work, we pass code object version as an argument to initialize target ID and use it for targetID dump. Reviewers: arsenm Differential Revision https://reviews.llvm.org/D143293
-
Dani Ferreira Franco Moura authored
If the modifiedType and the minimally desugared type of an AttributedType are the same, then we do not need to show both in an AST dump. Here, we change VisitAttributedType to only visit the modifiedType when it is different from the equivalentType (the minimally desugared type), because the latter is already visited by default. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D142637
-
ManuelJBrito authored
-
Jim Kitchen authored
Previously, when performing a reduction on a sparse tensor, the result would be different depending on iteration order. For expanded access pattern, an empty row would contribute no entry in the output. For lex ordering, the identity would end up in the output. This code changes that behavior and keeps track of whether any entries were actually reduced in lex ordering, making the output consistent between the two iteration styles. Differential Revision: https://reviews.llvm.org/D142050
-
Tue Ly authored
Properly set floating point exceptions and add more exceptional values for non-FMA x86-64 targets. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D143699
-
Fangrui Song authored
-
BigPeet authored
Fixes #55869 Reviewed By: njames93, nicovank Differential Revision: https://reviews.llvm.org/D142939
-
Michael Buch authored
Also make expected mangling more flexible since it's different between Linux and Darwin Differential Revision: https://reviews.llvm.org/D143652
-