- Oct 08, 2022
-
-
Ellis Hoag authored
In https://reviews.llvm.org/D135127 we created the show flag `--output-format` which was confusing because it behaved differently than the same flag in the merge command. So, rename the flag to `--show-format`. This also allows us to add the `text` option to mean "normal text output" rather than "text-encoded profiles" like it does for the merge command. Reviewed By: wenlei Differential Revision: https://reviews.llvm.org/D135467
-
Rafael Auler authored
Add a new testcase that shows a bug in BOLT when writing out dynamic relocations. This is currently marked as XFAIL as we work on solving it. This bug happens when the current strategy fails to recognize that the original dynamic relocation in the input should reference the original .bolt.org.rodata section instead of the new one .rodata created by BOLT after moving jump tables. This bug started happening after 729d29e1. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D125941
-
Michael Jones authored
This patch adds support for converting doubles to string in the %f/F format specifier. It does not yet support long doubles outside of the double range. This implementation is based on the work of Ulf Adams, specifically the Ryu Printf algorithm. See: Ulf Adams. 2019. Ryū revisited: printf floating point conversion. Proc. ACM Program. Lang. 3, OOPSLA, Article 169 (October 2019), 23 pages. https://doi.org/10.1145/3360595 Differential Revision: https://reviews.llvm.org/D131023
-
Maksim Panchenko authored
While the order of new sections in the output binary was deterministic in the past (i.e. there was no run-to-run variation), it wasn't always rational as we used size to define the precedence of allocatable sections within "code" or "data" groups (probably unintentionally). Fix that by defining stricter section-ordering rules. Other than the order of sections, this should be NFC. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D135235
-
Maksim Panchenko authored
When BOLT updates .eh_frame section, it concatenates newly-generated contents (from CFI directives) with the original .eh_frame that has relocations applied to it. However, if no new content is generated, the original .eh_frame has to be left intact. In that case, BOLT was still writing out the relocatable copy of the original .eh_frame section to the new segment, even though this copy was never used and was not even marked in the section header table. Detect the scenario above and skip allocating extra space for .eh_frame. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D135223
-
Maksim Panchenko authored
To properly set the "_end" symbol, we need to track the last allocatable address. Simply emitting "_end" at the end of some section is not sufficient since the order of section allocation is unknown during the emission step. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D135121
-
Maksim Panchenko authored
We can emit a binary without a new text section. Hence, the text section assertion is not needed. Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D135120
-
Michael Jones authored
The logic for strsignal and strerror is very similar, so I've moved them both to use a shared utility (MessageMapper) for the basic functionality. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D135322
-
Kadir Cetinkaya authored
-
Arthur Eubanks authored
And update corresponding tests.
-
Michael Jones authored
I've implemente the gnu variant of strerror_r since that seems to be the one more relevant to what we're trying to do. Differential Revision: https://reviews.llvm.org/D135227
-
Xiang Li authored
PCH supported for HLSL is added when compile in -cc1 mode using -include-pch for test AST. This change add some notes about the support of PCH for HLSL. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D134330
-
Shilei Tian authored
-
Shilei Tian authored
Two another atomic compare capture forms, `{ v = x; expr-stmt }` and `{ expr-stmt; v = x; }` where `expr-stmt` could be `cond-expr-stmt` are missing. Reviewed By: ABataev Differential Revision: https://reviews.llvm.org/D135236 -
Sanjay Patel authored
The shift amount is not changing, so if we guaranteed shifting out zeros before, those bits are still zeros. https://alive2.llvm.org/ce/z/sokQca
-
Sanjay Patel authored
-
Sanjay Patel authored
-
Andrzej Warzynski authored
When the work on the Flang driver started, we created 2 test directories: * flang/test/Frontend/ * flang/test/Driver/ That was mostly done to model what Clang was doing. In practice, we stopped using "flang/test/Frontend/" early on and most Flang driver tests are currently located in "flang/test/Driver/". This patch moves the remaining tests from the latter into the former directory. This change also means that we can re-use test input files, i.e. flang/test/Frontend/Inputs/hello-world.f90 can be replaced with flang/test/Driver/Inputs/hello.f90. To this end, the affected test is updated (multiple-input-files.f90). Differential Revision: https://reviews.llvm.org/D130633
-
Florian Hahn authored
This reverts commit 9e931439. This commit causes a crash when TSan, e.g. with https://lab.llvm.org/buildbot/#/builders/70/builds/28309/steps/10/logs/stdio Reverting while I extract a reproducer and submit a fix.
-
Ellis Hoag authored
Change the behavior of the `llvm-profdata show --debug-info=` command to dump a YAML file when using debug info correlation since it provides more information in a parseable format. Reviewed By: yozhu, phosek Differential Revision: https://reviews.llvm.org/D134770
-
Ellis Hoag authored
Add `--output-format` option for the `llvm-profdata show` command to select the type of output. The existing `--text` flag is used to emit text encoded profiles. To avoid confusion, `--output-format=text-encoding` indicates that the output will be profiles encoded in the text format, and `--output-format=text` indicates the default text output that doesn't necessarily represent a profile. `--output-format=json` is an alias for `--json` and `--output-format=yaml` will be used in D134770. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D135127
-
Nicolas Vasilache authored
Context: https://discourse.llvm.org/t/psa-retire-linalg-filter-based-patterns/63785 Differential Revision: https://reviews.llvm.org/D135454
-
Joseph Huber authored
These debugging definitions are no longer used in the new runtime. The old runtime has been removed since Clang-14 so we can safely get rid of these leftover variables. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D135452
-
Krzysztof Parzyszek authored
-
Krzysztof Parzyszek authored
1. `length(value/type)`: return the number of elements in the vector input, 2. `getHvxTy(elem_type)`: return the HVX vector type with the element type provided. These will help write things more succintly.
-
Jacques Pienaar authored
-
Nicolas Vasilache authored
Context: https://discourse.llvm.org/t/psa-retire-linalg-filter-based-patterns/63785 Differential Revision: https://reviews.llvm.org/D135450
-
Nicolas Vasilache authored
The transform.split_handles op is useful for ensuring a statically known number of operations are tracked by the source `handle` and to extract them into individual handles that can be further manipulated in isolation. In the process of making the op robust wrt to silenceable errors and the suppress mode, issues were uncovered and fixed. The main issue was that silenceable errors were short-circuited too early and the payloads were not set. This resulted in suppressed silenceable errors not propagating correctly. Fixing the issue triggered a few test failures: silenceable error returns now must properly set the results state. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D135426
-
- Oct 07, 2022
-
-
Krzysztof Parzyszek authored
-
Krzysztof Parzyszek authored
EVT can be created for any Type, and so this function can now be used to check if given Type, as-is, is an HVX type (as opposed to a type that may be subject to legalization to an HVX type).
-
Sanjay Patel authored
It's probably better to try harder on this kind of pattern by using ValueTracking.
-
Sanjay Patel authored
-
Sanjay Patel authored
issue #58137
-
Kazu Hirata authored
This patch fixes: llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp:800:17: error: unused variable 'DST_IDX' [-Werror,-Wunused-variable]
-
Krzysztof Parzyszek authored
-
Krzysztof Parzyszek authored
-
Yaxun (Sam) Liu authored
Promoting kernel arg pointer to global addr space is only available with registered amdgcn target. Fix test so that it does not require registered amdgcn target.
-
Nikita Popov authored
Tests for D130466.
-
Joseph Huber authored
Summary: This patch just cleans up the unused flags in the DeviceRTL. These should no longer be necessary or are redundant. Also add the extract tool and packager to the check and error message if not found. This will make it easier to tell if they are not present.
-
Florian Hahn authored
Extend forgetBlockAndLoopDisposition to allow clearing information for a single value. This can be useful when only a single value is changed, e.g. because the instruction is moved. We also need to clear the cached values for all SCEV users, because they may depend on the starting value's disposition. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D134614
-