- Dec 24, 2021
-
-
Chuanqi Xu authored
The comments for coroutine in clang wrote for coroutine-TS. Now coroutine is merged into standard. Try to conform the comments.
-
Fangrui Song authored
-
Shilei Tian authored
-
Craig Topper authored
The 'r' constraint uses the GPR class. There is generic support for bitcasting and extending/truncating non-integer VTs to the required integer VT. This doesn't work for scalable vectors and instead crashes. To prevent this, explicitly reject vectors. Fixed vectors might work without crashing, but it doesn't seem worthwhile to allow. While there remove an unnecessary level of indentation in the "vr" and "vm" constraint handling. Differential Revision: https://reviews.llvm.org/D115810
-
Fangrui Song authored
-
Mogball authored
Querying threads directly from the thread pool fails if there is no thread pool or if multithreading is not enabled. Returns 1 by default. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D116259
-
Fangrui Song authored
-
Stella Laurenzo authored
The computed number of hardware threads can change over the life of the process based on affinity changes. Since we need a data structure that is at least as large as the maximum parallelism, it is important to use the value that was actually latched for the thread pool we will be dispatching work to. Also adds an assert specifically for if it doesn't line up (I was getting a crash on an index into the vector). Differential Revision: https://reviews.llvm.org/D116257
-
Nico Weber authored
-
Fangrui Song authored
The generated assembly for Symbol::insert is much shorter (std::vector resize is inefficient) and enables some inlining.
-
Kirill Stoimenov authored
This will allow linking in the callbacks directly instead of using PLT. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D116182
-
Mehdi Amini authored
This reverts commit 313de31f. There is a missing CMake dependency, building with shared libraries is broken: 55.509 [45/4/3061] Linking CXX shared library lib/libMLIRTosaToLinalg.so.14git FAILED: lib/libMLIRTosaToLinalg.so.14git ... TosaToLinalgPass.cpp: undefined reference to `mlir::createCanonicalizerPass()'
-
Jason Molenda authored
Support three new keys in the qProcessInfo response from the remote gdb stub to handle the case of attaching to a core running some type of standalone/firmware code and the stub knows the UUID and load address-or-slide for the binary. There will be no proper DynamicLoader plugin in this scenario, but we can try to locate and load the binary into lldb at the correct offset. Differential Revision: https://reviews.llvm.org/D116211 rdar://75191077
-
Siva Chandra Reddy authored
-
Krzysztof Parzyszek authored
Generalize warning/error messages (for reuse), refactor flag verification code, rewrite HVX flag driver testcase.
-
Fangrui Song authored
Pointed out by thakis
-
Nico Weber authored
-
Kristina Bessonova authored
Revert "[DwarfDebug] Support emitting function-local declaration for a lexical block" & dependent patches Try to revert D113741 once again. This also reverts 0ac75e82 (D114705) as it causes LLDB's lldb-api.lang/cpp/nsimport.TestCppNsImport.py test failure w/o D113741. This reverts commit f9607d45. Differential Revision: https://reviews.llvm.org/D116225
-
Vitaly Buka authored
Reviewed By: browneee Differential Revision: https://reviews.llvm.org/D116202
-
Florian Hahn authored
The recursive implementation can run into stack overflows, e.g. like in PR52844. The order the users are visited changes, but for the current use case this only impacts the order error messages are emitted.
-
Nico Weber authored
-
Victor Perez authored
For fixed and scalable vectors, each intrinsic x is lowered to vmx.mm, dropping the mask, which is safe to do as masked-off elements are undef anyway. Differential Revision: https://reviews.llvm.org/D115339
-
Rob Suderman authored
Linalg named ops lowering are moved to a separate pass. This allows TOSA canonicalizers to run between named-ops lowerings and the general TOSA lowerings. This allows the TOSA canonicalizers to run between lowerings. Reviewed By: NatashaKnk Differential Revision: https://reviews.llvm.org/D116057
-
Michael Kruse authored
A prevectorized loop may contain multiple statements, in which case isl_schedule_node_band_sink will sink the vector band to multiple leaves. Instead of statically assuming a specific tree structure after sinking, add a SIMD marker to all inner bands. Fixes llvm.org/PR52637
-
Arthur O'Dwyer authored
Largely split out of D116199 to keep that PR smaller.
-
Arthur O'Dwyer authored
As suggested in D115312.
-
Arthur O'Dwyer authored
It was missing the cast to `bool` in `bool(__t.empty())`. It was wrongly using `std::forward` in some places. Differential Revision: https://reviews.llvm.org/D115312
-
Arthur O'Dwyer authored
Differential Revision: https://reviews.llvm.org/D116198
-
Mogball authored
-
Nathan Chancellor authored
The Linux kernel has a make macro called cc-option that invokes the compiler with an option in isolation to see if it is supported before adding it to CFLAGS. The exit code of the compiler is used to determine if the flag is supported and should be added to the compiler invocation. A call to cc-option with '-mno-outline-atomics' was added to prevent linking errors with newer GCC versions but this call succeeds with a non-AArch64 target because there is no warning from clang with '-mno-outline-atomics', just '-moutline-atomics'. Because the call succeeds and adds '-mno-outline-atomics' to the compiler invocation, there is a warning from LLVM because the 'outline-atomics target feature is only supported by the AArch64 backend. $ echo | clang -target x86_64 -moutline-atomics -Werror -x c -c -o /dev/null - clang-14: error: The 'x86_64' architecture does not support -moutline-atomics; flag ignored [-Werror,-Woption-ignored] $ echo $? 1 $ echo | clang -target x86_64 -mno-outline-atomics -Werror -x c -c -o /dev/null - '-outline-atomics' is not a recognized feature for this target (ignoring feature) $ echo $? 0 This does not match GCC's behavior, which errors when the flag is added to a non-AArch64 target. $ echo | gcc -moutline-atomics -x c -c -o /dev/null - gcc: error: unrecognized command-line option ‘-moutline-atomics’; did you mean ‘-finline-atomics’? $ echo | gcc -mno-outline-atomics -x c -c -o /dev/null - gcc: error: unrecognized command-line option ‘-mno-outline-atomics’; did you mean ‘-fno-inline-atomics’? $ echo | aarch64-linux-gnu-gcc -moutline-atomics -x c -c -o /dev/null - $ echo | aarch64-linux-gnu-gcc -mno-outline-atomics -x c -c -o /dev/null - To get closer to GCC's behavior, issue a warning when '-mno-outline-atomics' is used without an AArch64 triple and do not add '{-,+}outline-atomic" to the list of target features in these cases. Link: https://github.com/ClangBuiltLinux/linux/issues/1552 Reviewed By: melver, nickdesaulniers Differential Revision: https://reviews.llvm.org/D116128 -
Fangrui Song authored
I added `PPC32Got2Section` D62464 to support .got2 but did not implement .got2 in another output section. PR52799 has a linker script placing .got2 in .rodata, which causes a null pointer dereference because a MergeSyntheticSection's file is nullptr. Add the support.
-
Vitaly Buka authored
This option is per process anyway. I'd like to add more options, but having them as parameters of __sanitizer_symbolize_code looks inconvenient. Reviewed By: browneee Differential Revision: https://reviews.llvm.org/D116201
-
Fangrui Song authored
-no-canonical-prefixes is not needed if we omit "clang" from CHECK lines. "-cc1" is sufficient to anchor the line we want to test. --target= is preferred over Separate form -target.
-
Vitaly Buka authored
D116202 uses all availible slots.
-
Vitaly Buka authored
-
Michael Jones authored
A variable was named in a way that doesn't match the format. This patch renames it to match the format. Differential Revision: https://reviews.llvm.org/D116228
-
Krzysztof Parzyszek authored
-
Jakub Kuderski authored
Reviewed By: vettoreldaniele, GMNGeoffrey Differential Revision: https://reviews.llvm.org/D116222
-
Fangrui Song authored
There is a slight speed-up.
-
Kirill Stoimenov authored
This reverts commit ab3640aa. Reviewed By: kstoimenov Differential Revision: https://reviews.llvm.org/D116223
-