- Jun 25, 2020
-
-
Guillaume Chatelet authored
This patch replaces D69249. This is patch is part of a series to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Differential Revision: https://reviews.llvm.org/D82307
-
Valentin Clement authored
Summary: Previously OMPD_unknown was last item in the Directive enumeration and its position was used in various comparison and assertion. With the new Directive enumeration, this should be change with llvm::omp::Directive_enumSize. This patch fix two place where it was not done in D81736. Reviewers: vdmitrie, jdoerfert, jdenny Reviewed By: jdoerfert Subscribers: yaxunl, guansong, sstefan1, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82518
-
Florian Hahn authored
Non-removable MemoryDefs can still eliminate other defs. Update the isRemovable checks to only candidates for removal.
-
Aaron Ballman authored
attribute with no arguments provided.
-
Frederik Gossen authored
Eliminate the subsequent applications of `size_to_index` and `index_to_size`. Differential Revision: https://reviews.llvm.org/D82083
-
Alexey Bataev authored
Summary: Added support for dynamic memory allocation for globalized variables in case if execution of target regions in parallel is required. Reviewers: jdoerfert Subscribers: jholewinski, yaxunl, guansong, sstefan1, cfe-commits, caomhin Tags: #clang Differential Revision: https://reviews.llvm.org/D82324
-
David Green authored
This file has grown quite large and could do with being split up. This splits away the load/store + cast tests into a separate file. Some masked load/store + cast tests have been added too, along with some extra load/store + fpcast tests.
-
Frederik Gossen authored
Eliminate the subsequent applications of `index_to_size` and `size_to_index`. Differential Revision: https://reviews.llvm.org/D82082
-
Georgii Rymar authored
There is no reason to report an error in `printSectionHeaders()`, we can report a warning and continue dumping. This is what the patch does. Differential revision: https://reviews.llvm.org/D82462
-
Jeff Trull authored
In the process of running this check on a large codebase I found a number of limitations, and thought I would pass on my fixes for possible integration upstream: * Templated function call operators are not supported * Function object constructors are always used directly in the lambda body, even if their arguments are not captured * Placeholders with namespace qualifiers (std::placeholders::_1) are not detected * Lambda arguments should be forwarded to the stored function * Data members from other classes still get captured with this * Expressions (as opposed to variables) inside std::ref are not captured properly * Function object templates sometimes have their template arguments replaced with concrete types This patch resolves all those issues and adds suitable unit tests.
-
Tyker authored
Summary: NOTE: There is a mailing list discussion on this: http://lists.llvm.org/pipermail/llvm-dev/2019-December/137632.html Complemantary to the assumption outliner prototype in D71692, this patch shows how we could simplify the code emitted for an alignemnt assumption. The generated code is smaller, less fragile, and it makes it easier to recognize the additional use as a "assumption use". As mentioned in D71692 and on the mailing list, we could adopt this scheme, and similar schemes for other patterns, without adopting the assumption outlining. Reviewers: hfinkel, xbolva00, lebedev.ri, nikic, rjmccall, spatel, jdoerfert, sstefan1 Reviewed By: jdoerfert Subscribers: yamauchi, kuter, fhahn, merge_guards_bot, hiraditya, bollu, rkruppe, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D71739
-
Tyker authored
-
Florian Hahn authored
This was suggested in D72782 and brings the diagnostics more in line with how argument references are handled elsewhere. Reviewers: rjmccall, jfb, Bigcheese Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D82473
-
Sam Tebbs authored
This patch stops the sadd_sat and uadd_sat intrinsics from blocking tail predication. Differential revision: https://reviews.llvm.org/D82377
-
Florian Hahn authored
-
Simon Pilgrim authored
Ensure FPEnv.cpp includes FPEnv.h first to check for hidden dependencies.
-
Simon Pilgrim authored
Replace legacy AliasAnalysis typedef with AAResults where necessary.
-
Haojian Wu authored
Reviewed By: rsmith Differential Revision: https://reviews.llvm.org/D80981
-
Kadir Cetinkaya authored
Summary: Libclang was enforcing a singature on SourceManager::getLocalSLocEntry which isn't possible to satisfy as pointed out in https://reviews.llvm.org/D80681#inline-751438. This patch updates the libclang, hopefully without breaking API stability, to not rely on member signature. To enable changing the signature in D82498. Reviewers: sammccall, bkramer Subscribers: arphaman, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D82532
-
Daniel Grumberg authored
This fixes a build failure. More details at http://lab.llvm.org:8011/builders/llvm-clang-win-x-armv7l/builds/78/steps/test-check-clang/logs/FAIL%3A%20Clang-Unit%3A%3ACC1CommandLineGenerationTest.CanGenerateCC1CommandLineSeparateRequiredAbsent
-
Frederik Gossen authored
-
Valeriy Savchenko authored
Summary: It generalizes the way the output looks across any -jN. Additionally it solves the buffering problems. Differential Revision: https://reviews.llvm.org/D81601
-
Valeriy Savchenko authored
Summary: Another possible difference between various users of the testing system might be a change in dependencies installed on the container. This commit tries to prevent any problem related to different versions of the libraries/headers used and fixes them to currently installed versions. Differential Revision: https://reviews.llvm.org/D81600
-
Valeriy Savchenko authored
Differential Revision: https://reviews.llvm.org/D81599
-
Valeriy Savchenko authored
Summary: Docker on its own has a pretty convenient way to run shell. This method, however, requires target container to be currently running, which is not a usual scenario for the test system. For this purpose, it is better to have a simple way to run the container, shell it, and clean up at the end of it all. New option `--shell` does exactly this. Differential Revision: https://reviews.llvm.org/D81598
-
Valeriy Savchenko authored
Differential Revision: https://reviews.llvm.org/D81596
-
Valeriy Savchenko authored
Summary: If the user has only python2 installed and wants to use the dockerized testing system, it is now totally OK. Differential Revision: https://reviews.llvm.org/D81595
-
Valeriy Savchenko authored
Summary: Forward results of every command executed in docker. The actual commands and their error codes are more informative than python stacktraces. Differential Revision: https://reviews.llvm.org/D81593
-
Valeriy Savchenko authored
Differential Revision: https://reviews.llvm.org/D81592
-
Valeriy Savchenko authored
Summary: It provides a simpler interface for testing within docker. This way the user is not required to no how to use `docker run` and its options. Differential Revision: https://reviews.llvm.org/D81572
-
Valeriy Savchenko authored
Summary: Static analysis is very sensitive to environment. OS and libraries installed can affect the results. This fact makes it extremely hard to have a regression testing system that will produce stable results. For this very reason, this commit introduces a new dockerized testing environment, so that every analyzer developer can check their changes against previous analysis results. Differential Revision: https://reviews.llvm.org/D81571
-
Guillaume Chatelet authored
Summary: Alignment needs to be resolved at this point so we replace the 0 value with the ABI Type Alignment.
-
Djordje Todorovic authored
Before the fix the build of docs-llvm-html would fail. The D80959 introduced options that are not recognized, so we have warning as: llvm-project/llvm/docs/CommandGuide/llvm-dwarfdump.rst:40\ :unknown option: --debug-info Differential Revision: https://reviews.llvm.org/D82460
-
Djordje Todorovic authored
Before the fix the build of docs-llvm-html would fail. The rG8bc03d21 introduced a reference to an undefined label, so we have warning as: llvm-project/llvm/docs/GlobalISel/GenericOpcode.rst:295:\ undefined label: i_intr_llvm_ptrmask (if the link has no\ caption the label must precede a section header)
-
Frederik Gossen authored
Lower `shape_of` for unranked tensors. Materializes shape in stack-allocated memory. Differential Revision: https://reviews.llvm.org/D82196
-
Frederik Gossen authored
Lower `shape.rank` to standard dialect. A shape's size is the same as the extent of the first and only dimension of the `tensor<?xindex>` it is represented by. Differential Revision: https://reviews.llvm.org/D82080
-
Shawn Landden authored
-
Frederik Gossen authored
Replace any `rank(shape_of(tensor))` that relies on a ranked tensor with the corresponding constant `const_size`. Differential Revision: https://reviews.llvm.org/D82077
-
Piotr Sobczak authored
Summary: Add patterns to select s_cselect in the isel. Handle more cases of implicit SCC accesses in si-fix-sgpr-copies to allow new patterns to work. Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, asbirlea, kerbowa, llvm-commits Tags: #llvm Re-commit D81925 with a bugfix D82370. Differential Revision: https://reviews.llvm.org/D81925 Differential Revision: https://reviews.llvm.org/D82370
-
David Spickett authored
This reverts commit f570d581. The test was failing on MacOS if you set LLVM_DEFAULT_TARGET_TRIPLE. For example if you set it to "x86_64-apple-darwin" clang actually uses "x86_64-apple-darwin<version>". To fix this get default triple from clang itself during the test instead of substituting it in via lit.
-