- Sep 16, 2020
-
-
Vitaly Buka authored
We still keep AddrIsInside. This reverts commit 1d70984f.
-
Vitaly Buka authored
Additional investigated confirmed that issue is not about AddrIsInside, but missing registers. This reverts commit 9d01612d.
-
Max Kazantsev authored
-
Richard Barton authored
Apply a local fix to an issue with recommonmark's AutoStructify extension when used with certain versions of sphinx. See https://github.com/readthedocs/recommonmark/issues/93 Reviewed By: hans Differential Revision: https://reviews.llvm.org/D87714
-
Max Kazantsev authored
-
Alina Sbirlea authored
-
Xing GUO authored
This patch adds support for dumping the .debug_addr(v5) section to obj2yaml. Reviewed By: jhenderson Differential Revision: https://reviews.llvm.org/D87601
-
Martin Storsjö authored
This matches how such options are most commonly defined in other tools. This was pointed out in an earlier review a few months ago, that the llvm-rc td entries felt shouty. The INCLUDE option is renamed to includepath, to avoid clashing with the tablegen include directive.
-
Martin Storsjö authored
Fix a typo and mention one missing step.
-
Martin Storsjö authored
MS rc.exe doesn't require specifying all 4 components. Differential Revision: https://reviews.llvm.org/D87570
-
Alina Sbirlea authored
-
Craig Topper authored
We can pad the mask with zeros in order to widen. We already do this for power 2 types that are smaller than a legal type.
-
Craig Topper authored
-
Mircea Trofin authored
Fixes fuscia test [1] - the thinlto annotations may not always be there. [1] http://lab.llvm.org:8011/builders/fuchsia-x86_64-linux/builds/11312
-
Daniel Stone authored
Reviewer: jenatali jvesely Differential Revision: https://reviews.llvm.org/D85910
-
Uday Bondhugula authored
Emit some more information when printing/dumping `Value`s of `BlockArgument` kind. This is purely to help for debugging purposes. Differential Revision: https://reviews.llvm.org/D87670
-
Dave Lee authored
Since "generic type" has a precise meaning in some languages, reword the docstring of `CompilerType` to avoid ambiguity. Differential Revision: https://reviews.llvm.org/D87633
-
Zinovy Nis authored
Bug: https://bugs.llvm.org/show_bug.cgi?id=47446 Differential Revision: https://reviews.llvm.org/D87627
-
Max Kazantsev authored
-
Serguei Katkov authored
This tests increase coverage for change introduced in D85959 Reviewers: reames, reames Reviewed By: reames Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D87224
-
Mehdi Amini authored
Fully qualify some more namespace in MLIR ODS to be more friendly to dialects not defined under the mlir namespace (NFC)
-
Arthur Eubanks authored
Pin to legacy PM, there are already NPM RUN lines.
-
Arthur Eubanks authored
-
Arthur Eubanks authored
Also move it to a more appropriate directory.
-
Craig Topper authored
Previously we only did this if the immediate fit in 16 bits, but the GNU assembler seems to just truncate. Fixes PR46952
-
Alina Sbirlea authored
-
Reid Kleckner authored
This is a minor simplification to avoid firing up a BinaryStreamReader and CVType parser.
-
Krzysztof Parzyszek authored
V6_vdealb4w is not correct for pairs, use V6_vpackeh/V6_vpackeb instead.
-
Arthur Eubanks authored
strip-nondebug and strip-debug-declare have no existing associated tests Reviewed By: ychen Differential Revision: https://reviews.llvm.org/D87639
-
Arthur Eubanks authored
Reviewed By: ychen Differential Revision: https://reviews.llvm.org/D87726
-
Michael Kitzan authored
-
Wenlei He authored
Although LLVM supports vectorization of loops containing log10/sqrt, it did not support using SVML implementation of it. Added support so that when clang is invoked with -fveclib=SVML now an appropriate SVML library log2 implementation will be invoked. Follow up on: https://reviews.llvm.org/D77114 Tests: Added unit tests to svml-calls.ll, svml-calls-finite.ll. Can be run with llvm-lint. Created a simple c++ file that tests log10/sqrt, and used clang+ to build it, and output final assembly. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D87169
-
Wenlei He authored
D65060 was reverted because it introduced non-determinism by using BFI counts from already freed blocks. The parent of this revision fixes that by using a VH callback on blocks to prevent this from happening and makes sure BFI data is passed correctly in LoopStandardAnalysisResults. This re-introduces the previous optimization of using BFI data to prevent LICM from hoisting/sinking if the instruction will end up moving to a colder block. Internally at Facebook this change results in a ~7% win in a CPU related metric in one of our big services by preventing hoisting cold code into a hot pre-header like the added test case demonstrates. Testing: ninja check Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D87551
-
Jessica Paquette authored
These functions were extremely similar: - `emitADD` - `emitADDS` - `emitCMN` Refactor them a little, introducing a more generic `emitInstr` function to do most of the work. Also add support for the immediate + shifted register addressing modes in each of them. Update select-uaddo.mir to show that selecing ADDS now supports folding immediates + shifts. (I don't think this can impact CMN, because the CMN checks require a G_SUB with a non-constant on the RHS.) This is around a 0.02% code size improvement on CTMark at -O3. Differential Revision: https://reviews.llvm.org/D87529
-
Arthur Eubanks authored
When adding a new function via addNewFunctionIntoRefSCC(), it creates a new node and immediately populates the edges. Since populateSlow() calls G->get() on all referenced functions, it will create a node (but not populate it) for functions that haven't yet been added. If we add two mutually recursive functions, the assert that the node should never have been created will fire when the second function is added. So here we remove that assert since the node may have already been created (but not yet populated). createNode() is only called from addNewFunctionInto{,Ref}SCC(). https://bugs.llvm.org/show_bug.cgi?id=47502 Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D87623 -
Volkan Keles authored
test/CodeGen/AArch64/GlobalISel/combine-trunc.mir was failing due to the different order for evaluating function arguments. This patch updates the related code to fix the issue.
-
Alexandre Ganea authored
Differential Revision: https://reviews.llvm.org/D87609
-
Wenlei He authored
~~D65060 uncovered that trying to use BFI in loop passes can lead to non-deterministic behavior when blocks are re-used while retaining old BFI data.~~ ~~To make sure BFI is preserved through loop passes a Value Handle (VH) callback is registered on blocks themselves. When a block is freed it now also wipes out the accompanying BFI entry such that stale BFI data can no longer persist resolving the determinism issue. ~~ ~~An optimistic approach would be to incrementally update BFI information throughout the loop passes rather than only invalidating them on removed blocks. The issues with that are:~~ ~~1. It is not clear how BFI information should be incrementally updated: If a block is duplicated does its BFI information come with? How about if it's split/modified/moved around? ~~ ~~2. Assuming we can address these problems the implementation here will be a massive undertaking. ~~ ~~There's a known need of BFI in LICM analysis which requires correct but not incrementally updated BFI data. A follow-up change can register BFI in all loop passes so this preserved but potentially lossy data is available to any loop pass that wants it.~~ See: D75341 for an identical implementation of preserving BFI via VH callbacks. The previous statements do still apply but this change no longer has to be in this diff because it's already upstream
😄 . This diff also moves BFI to be a part of LoopStandardAnalysisResults since the previous method using getCachedResults now (correctly!) statically asserts (D72893) that this data isn't static through the loop passes. Testing Ninja check Reviewed By: asbirlea, nikic Differential Revision: https://reviews.llvm.org/D86156 -
Aditya Nandakumar authored
https://reviews.llvm.org/D87668 Patch adds two new GICombinerRules, one for G_MUL(X, 1) and another for G_MUL(X, -1). G_MUL(X, 1) is an identity combine, and G_MUL(X, -1) gets replaced with G_SUB(0, X). Patch additionally adds new combiner tests for the AArch64 target to test these new combiner rules, as well as updates AMDGPU GISel tests. Patch by mkitzan
-
Mircea Trofin authored
This will embed bitcode after (Thin)LTO merge, but before optimizations. In the case the thinlto backend is called from clang, the .llvmcmd section is also produced. Doing so in the case where the caller is the linker doesn't yet have a motivation, and would require plumbing through command line args. Differential Revision: https://reviews.llvm.org/D87636
-