- Feb 17, 2021
-
-
Jay Foad authored
Also simplify one of its call sites. NFC.
-
David Zarzycki authored
With enough cores, the slowest tests can significantly change the total testing time if they happen to run late. With this change, a test suite can improve performance (for high-end systems) by listing just a few of the slowest tests up front. Reviewed By: jdenny, jhenderson Differential Revision: https://reviews.llvm.org/D96594
-
Piotr Sobczak authored
The helper function isBoolSGPR is too aggressive when determining when a v_cndmask can be skipped on a boolean value because the function does not check the operands of and/or/xor. This can be problematic for the Add/Sub combines that can leave bits set even for inactive lanes leading to wrong results. Fix this by inspecting the operands of and/or/xor recursively. Differential Revision: https://reviews.llvm.org/D86878
-
Fraser Cormack authored
This patch adds support for fixed-length vector vselect. It does so by lowering them to a custom unmasked VSELECT_VL node with a vector length operand. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D96768
-
Simon Pilgrim authored
Failure to handle binop(shuffle(x,undef),shuffle(a,b))
-
Benjamin Kramer authored
This is still fairly tricky code, but I tried to untangle it a bit. Differential Revision: https://reviews.llvm.org/D96800
-
Thomas Preud'homme authored
Some test systems do not use lit for test discovery but only for its substitution and test selection because they use another way of managing test collections, e.g. CTest. This forces those tests to be invoked with lit --no-indirectly-run-check. When a mix of lit version is in use, it requires to detect the availability of that option. This commit provides a new config option standalone_tests to signal a directory made of tests meant to run as standalone. When this option is set, lit skips test discovery and the indirectly run check. It also adds the missing documentation for --no-indirectly-run-check. Reviewed By: jdenny Differential Revision: https://reviews.llvm.org/D94766
-
Alex Richardson authored
This fixes the weak_hooks.cpp test on FreeBSD. Since this feature appears to be supported on almost all platforms, it might also make sense to turn it into an opt-out list instead of being opt-in. Reviewed By: krytarowski Differential Revision: https://reviews.llvm.org/D96255
-
Stephen Kelly authored
Differential Revision: https://reviews.llvm.org/D96141
-
Stephen Kelly authored
The normalization of matchers means that this now works in all language modes. Differential Revision: https://reviews.llvm.org/D96140
-
Stephen Kelly authored
Because it no longer relies on finding implicit casts, this check now works on templates which are not instantiated in the translation unit. Differential Revision: https://reviews.llvm.org/D96138
-
Sjoerd Meijer authored
intended.
-
Igor Kudrin authored
The option was added in D90507 for C/C++ source files. This patch adds support for assembly files. Differential Revision: https://reviews.llvm.org/D96783
-
Igor Kudrin authored
This allows the option to affect the LTO output. Module::Max helps to generate debug info for all modules in the same format. Differential Revision: https://reviews.llvm.org/D96597
-
Sam McCall authored
The redundancy around work-done-progress is annoying but ok for now. There's a weirdness with context lifetimes around outgoing method calls, which I've preserved to keep this NFC. We should probably fix it though. Differential Revision: https://reviews.llvm.org/D96717
-
Sjoerd Meijer authored
This is a follow up D96600 and cleans up most calls to getPreferredAddresingMode. I.e., we really don't need to query the same things again and again, but get the preferred addressing mode once for each loop. So this should be a lot friendlier for compile times, especially if we start implementing getPreferredAddresingMode. Differential Revision: https://reviews.llvm.org/D96772
-
Sam McCall authored
We can't construct a working unique_function from an object that's not callable with the right types, so don't allow deduction to succeed. This avoids some ambiguous conversion cases, e.g. allowing to overload on different unique_function types, and to conversion operators to unique_function. std::function and the any_invocable proposal have these. This was added to llvm::function_ref in D88901 and followups Differential Revision: https://reviews.llvm.org/D96794
-
Benjamin Kramer authored
This allows it to be dead code eliminated when unused. Differential Revision: https://reviews.llvm.org/D96797
-
Anton Zabaznov authored
This change affects 'SemaOpenCLCXX/newdelete.cl' test, thus the patch contains adjustments in types validation of operators new and delete Reviewed By: Anastasia Differential Revision: https://reviews.llvm.org/D96178
-
Sjoerd Meijer authored
To make sure compile-times don't regress, add an option to restrict the number of instructions considered for sinking as alias analysis can be expensive and for the same reason also skip large blocks. Differential Revision: https://reviews.llvm.org/D96485
-
Joachim Protze authored
When compiling with ccache, compiler commands get split into smaller steps and clang's default -Wunused-command-line-argument complains about unused include directory arguments. In combination -Werror, compilation aborts. This patch passes the CMAKE_C_FLAGS into the build script. Configuring with -DCMAKE_C_FLAGS=-Wno-unused-command-line-argument allows successful testing. Differential Revision: https://reviews.llvm.org/D96762
-
Balázs Kéri authored
Displaying the problem range could crash if the begin and end of a range is in different files or macros. After the change such range is displayed only as the beginning location. There is a bug for this problem: https://bugs.llvm.org/show_bug.cgi?id=46540 Reviewed By: steakhal Differential Revision: https://reviews.llvm.org/D95860
-
Kazu Hirata authored
-
Cassie Jones authored
This adds highlighting for MIR instruction opcodes, physical registers, and MIR types. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D95553
-
Cassie Jones authored
This initial definition handles the yaml container and the embedding of the inner IRs. As a stopgap, this reuses the LLVM IR syntax highlighting for the MIR function bodies--even though it's not technically correct, it produces decent highlighting for a first pass. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D95552
-
Dmitry Vyukov authored
If an app mmaps lots of memory, a user mmap may end up in the tsan region for traces. Shadow for this range overlaps with shadow for other user regions. This causes havok: from false positives to crashes. Don't leave unmapped holes in the traces region. Reviewed-in: https://reviews.llvm.org/D96697
-
Yang Fan authored
MSVC warning: ``` SampleProfileLoaderBaseImpl.h(41): warning C4515: 'llvm': namespace uses itself ```
-
Kazu Hirata authored
-
Kazu Hirata authored
Identified with llvm-header-guard.
-
Kazu Hirata authored
-
Mikael Holmen authored
type is an uint8_t so type >= 0 is always true and type < 0 is always false.
-
Mircea Trofin authored
Allow custom location for pre-trained models used when AOT-compiling policies. Differential Revision: https://reviews.llvm.org/D96796
-
Hsiangkai Wang authored
Differential Revision: https://reviews.llvm.org/D95148
-
Hsiangkai Wang authored
This patch proposes how to deal with RISC-V vector frame objects. The layout of RISC-V vector frame will look like |---------------------------------| | scalar callee-saved registers | |---------------------------------| | scalar local variables | |---------------------------------| | scalar outgoing arguments | |---------------------------------| | RVV local variables && | | RVV outgoing arguments | |---------------------------------| <- end of frame (sp) If there is realignment or variable length array in the stack, we will use frame pointer to access fixed objects and stack pointer to access non-fixed objects. |---------------------------------| <- frame pointer (fp) | scalar callee-saved registers | |---------------------------------| | scalar local variables | |---------------------------------| | ///// realignment ///// | |---------------------------------| | scalar outgoing arguments | |---------------------------------| | RVV local variables && | | RVV outgoing arguments | |---------------------------------| <- end of frame (sp) If there are both realignment and variable length array in the stack, we will use frame pointer to access fixed objects and base pointer to access non-fixed objects. |---------------------------------| <- frame pointer (fp) | scalar callee-saved registers | |---------------------------------| | scalar local variables | |---------------------------------| | ///// realignment ///// | |---------------------------------| <- base pointer (bp) | RVV local variables && | | RVV outgoing arguments | |---------------------------------| | /////////////////////////////// | | variable length array | | /////////////////////////////// | |---------------------------------| <- end of frame (sp) | scalar outgoing arguments | |---------------------------------| In this version, we do not save the addresses of RVV objects in the stack. We access them directly through the polynomial expression (a x VLENB + b). We do not reserve frame pointer when there is any RVV object in the stack. So, we also access the scalar frame objects through the polynomial expression (a x VLENB + b) if the access across RVV stack area. Differential Revision: https://reviews.llvm.org/D94465
-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92598Douglas Yung authored
This should fix gcc based builders such as http://lab.llvm.org:8011/#/builders/76/builds/1683
-
Valentin Clement authored
This patch is a follow up of D96422 and move ComplexType to TableGen. Reviewed By: schweitz Differential Revision: https://reviews.llvm.org/D96575
-
Valentin Clement authored
This patch is a follow up of D96422 and move BoxProcType to TableGen. Reviewed By: schweitz, mehdi_amini Differential Revision: https://reviews.llvm.org/D96514
-
Valentin Clement authored
This patch is a follow up of D96422 and move CharacterType and BoxCharType to TableGen. Reviewed By: schweitz Differential Revision: https://reviews.llvm.org/D96446
-
Alexander Shaposhnikov authored
1. Emit warnings for files without symbols. 2. Add -no_warning_for_no_symbols. Test plan: make check-all Differential revision: https://reviews.llvm.org/D95843
-
Tony Tye authored
The AMD GPU SIMemoryLegalizer was using the ordering address space rather than the instruction address space when determining the s_waitcnt to generate to ensure that a read-modify-write atomic has completed. This resulted in additional unnecessary counters being waited on. Differential Revision: https://reviews.llvm.org/D96743
-