- Aug 19, 2022
-
-
Vaibhav Yenamandra authored
* Extend SarifResult with level property, and allow rule configuration * Create SarifReportingConfiguration which allow configuring rules with a default priority, severity and an enable-toggle * Support for setting the level property[1] of a result. If unset, it defaults to "warning", which is the result of an empty default configuration on rules[2] [1]: https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html#_Toc34317648 [2]: https://docs.oasis-open.org/sarif/sarif/v2.1.0/os/sarif-v2.1.0-os.html#_Toc34317855 Differential Revision: https://reviews.llvm.org/D131084
-
Caroline Concatto authored
This patch has implements these optimizations: extract.vector(insert.vector(Vector, Value, Idx), Idx) --> Value extract.vector(insert.vector(Vector, Value, InsertIndex), ExtractIndex) --> extract.vector(Vector, ExtractIndex) Reviewed By: sdesmalen Differential Revision: https://reviews.llvm.org/D132137
-
Dmitry Preobrazhensky authored
Split gfx9_dasm_all.txt by instruction encoding. Differential Revision: https://reviews.llvm.org/D132124
-
Dmitry Preobrazhensky authored
Split gfx8_dasm_all.txt by instruction encoding. Differential Revision: https://reviews.llvm.org/D132126
-
Dominik Adamski authored
This test is follow up of the review: https://reviews.llvm.org/D131402 Co-Author of the patch: Kiran Chandramohan Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D132215
-
Caroline Concatto authored
Differential Revision: https://reviews.llvm.org/D131687
-
Alexander Malkov authored
Fix for the problem with displaying options `-fsyntax-only` in clang and flang-new in help Fix https://github.com/llvm/llvm-project/issues/57033 Before: ``` $ clang -help | grep syntax -objcmt-migrate-property-dot-syntax Enable migration of setter/getter messages to property-dot syntax ``` After: ``` $ clang -help | grep syntax -fsyntax-only Run the preprocessor, parser and semantic analysis stages -objcmt-migrate-property-dot-syntax Enable migration of setter/getter messages to property-dot syntax ``` Reviewed By: vzakhari, awarzynski, MaskRay, alexiprof Differential Revision: https://reviews.llvm.org/D131808
-
Simon Pilgrim authored
It's going to be much easier to maintain these tests (and all the check prefix combinations) if we don't mix cost kinds in the same file.
-
Simon Pilgrim authored
It's going to be much easier to maintain these tests (and all the check prefix combinations) if we don't mix cost kinds in the same file.
-
Simon Pilgrim authored
Tremont uses the Goldmont div/sqrt costs but we weren't testing for them
-
Simon Pilgrim authored
Just specify the triple inside the RUN command (to make i686 support much easier!), and consistently use x86_64-- generic triple
-
Martin Storsjö authored
[libcxx] [test] Mark the libcxx/selftest/remote-substitutions.sh.cpp test as requiring bash in the executor It's unclear to me why this wasn't tagged this way already in 87fe0709 / D114612 where the feature flag executor-has-no-bash was added, as this test did exist in its current form already at that time. Differential Revision: https://reviews.llvm.org/D131446
-
Martin Storsjö authored
Increase the timeout tolerance if TEST_IS_EXECUTED_IN_A_SLOW_ENVIRONMENT is set, similarly to how it's done in a couple other tests. Use `std::this_thread::yield();` instead of busylooping. When multiple threads are busylooping, it's plausible that not all threads even get started running before the timeout runs out. This makes the threading tests succeed if run in Windows runners on Github Actions. Differential Revision: https://reviews.llvm.org/D131483
-
Martin Storsjö authored
This makes its role clearer. It's plausible that one may want to manually define TEST_IS_EXECUTED_IN_A_SLOW_ENVIRONMENT when running the tests in some environments - in particular, it seems to be necessary to use the higher tolerance timeouts if running the tests on Windows runners on Github Actions. Also add the descriptive comment in one file where it was missing. Differential Revision: https://reviews.llvm.org/D131484
-
Martin Storsjö authored
The PATH is set in order to be able to find the tested DLL at runtime. When linking statically, it's not necessary to set the PATH. Setting PATH in the executor has the downside that it clears the existing path (it's not prepended/appended to it), which means that the executed tools can't find other tools - which sets the executor-has-no-bash flag. By removing the unnecessary setting of PATH, we have a properly working bash even when wrapped by the executor, which gets rid of the executor-has-no-bash flag in this test configuration, which makes 9 more testcases be executed. Differential Revision: https://reviews.llvm.org/D131481
-
Carlos Galvez authored
Lambdas are implemented as regular classes internally, and the captured variables end up as members there. Do not diagnose those - the check should cover only regular classes and structs. Differential Revision: https://reviews.llvm.org/D131780
-
jacquesguan authored
Differential Revision: https://reviews.llvm.org/D132210
-
Iain Sandoe authored
The commit of af2d11b1 missed a case where the value of a suggested module needed to be reset to nullptr. Fixed thus and added a testcase to cover the circumstance.
-
Archibald Elliott authored
This change adds support for lowering llvm.prefetch directly using GlobalISel. Currently, llvm.prefetch falls back to SelectionDAG. This Change: - Adds an AArch64-specific G_PREFETCH generic instruction, to be used where AArch64ISD::PREFETCH is used in SelectionDAG. - Adds the GINodeEquiv so patterns are translated over to GlobalISel automatically. - Corrects the AArch64Prefetch patterns to use a target immediate, which is needed to get the patterns to translate across correctly. - Translates the SelectionDAG legalisation of the prefetch intrinsic into the corresponding GlobalISel legalisation. Differential Revision: https://reviews.llvm.org/D132043
-
Archibald Elliott authored
The current llvm.prefetch intrinsic docs state "The rw, locality and cache type arguments must be constant integers." This change: - Makes arg 3 (cache type) an ImmArg - Improves the verifier error messages to reference the incorrect argument. - Fixes two tests which contradict the docs. This is needed as the lowering to GlobalISel is different for ImmArgs compared to other constants. The non-ImmArgs create a G_CONSTANT MIR instruction, the for ImmArgs the constant is put directly on the intrinsic's MIR instruction as an immediate. Differential Revision: https://reviews.llvm.org/D132042
-
Michał Górny authored
Sponsored by: The FreeBSD Foundation
-
Max Kazantsev authored
-
Michał Górny authored
Sponsored by: The FreeBSD Foundation
-
Siva Chandra Reddy authored
-
Siva Chandra Reddy authored
-
Chuanqi Xu authored
Extracted from D130153
-
Michał Górny authored
Try to always send vCont packets and include the PID in them if running multiprocess. This is necessary to ensure that with the upcoming full multiprocess support always resumes the correct process without having to resort to the legacy Hc packets. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.llvm.org/D131758
-
Joey Watts authored
This patch improves the modernize-use-emplace check by adding support for detecting inefficient invocations of the `push` and `push_front` methods on STL-style containers and replacing them with their `emplace`-style equivalent. Fixes #56996. Reviewed By: njames93 Differential Revision: https://reviews.llvm.org/D131623
-
Xiang Li authored
Use onstantDataSequential::getElementType to allow vector type. Use getShuffleMaskForBitcode to get ShuffleMask. Use old format for alloca Align. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D132102
-
Chuanqi Xu authored
GCC9 may issue warning for the 'unused' parameters in if constexpr. This commit try to fix it by adding the [[maybe_unused]] attribute.
-
Valentin Clement authored
The TargetRewrite pass convert the signature of the function. In some cases it adds operands to the function to hanlde the result of it. This patch makes sure the argument attributes present before the conversion are replaced with the correct arguments after the conversion is performed. Depends D132113 Reviewed By: vdonaldson Differential Revision: https://reviews.llvm.org/D132114
-
Max Kazantsev authored
addrspace here is not import for the test itself.
-
Timm Bäder authored
Instead of complaining about default initialization, tell users that constexpr variables need to be initialized by a constant expression. Differential Revision: https://reviews.llvm.org/D131662
-
Fabian Parzefall authored
This patch adds exception handling trampolines when a function is split into more than two fragments. Trampolines are tracked per-fragment, such that they can be removed if splitting is reversed. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D132048
-
Fabian Parzefall authored
Use isSplit() instead of isCold() when building the call graph and update parameter names to reflect this. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D132047
-
Fabian Parzefall authored
This adds a strategy to split functions into a random number of fragments at randomly chosen split points. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D130647
-
Fabian Parzefall authored
This adds a function splitting strategy that splits each outlineable basic block into its own fragment. This is exposed through a new command line option `--split-strategy`. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D129827
-
Fabian Parzefall authored
This patch adds support to generate any number of sections that are assigned to fragments of functions that are split more than two-way. With this, a function's *nth* split fragment goes into section `.text.cold.n`. This also changes `FunctionLayout::erase` to make sure, that there are no empty fragments at the end of the function. This sometimes happens when blocks are erased from the function. To avoid creating symbols pointing to these fragments, they need to be removed. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D130521
-
Fabian Parzefall authored
This adds basic fragment awareness in the exception handling passes and generates the necessary symbols for fragments. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D130520
-
Fabian Parzefall authored
This changes code emission such that it can emit specific function fragments instead of scanning all basic blocks of a function and just emitting those that are hot or cold. To implement this, `FunctionLayout` explicitly distinguishes the "main" fragment (i.e. the one that contains the entry block and is associated with the original symbol) from "split" fragments. Additionally, `BinaryFunction` receives support for multiple cold symbols - one for each split fragment. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D130052
-