- Jun 01, 2022
-
-
Fangrui Song authored
-
Stanislav Mekhanoshin authored
- Correct flavor of an instruction was not selected. - GFX90A does not support TFE. Differential Revision: https://reviews.llvm.org/D126312
-
LLVM GN Syncbot authored
-
Andrzej Warzynski authored
* Breaking change: https://reviews.llvm.org/D125832 * Buildbot failure: https://lab.llvm.org/buildbot/#/builders/172/builds/13123 Sending this without a review - this is a rather straightforward fix.
-
Michael Jones authored
This patch adds the file_writer header, which just provides a wrapper for File->write, as well as fprintf to use it. There are no unit tests for file_writer since it's too simple to need them, but fprintf does have a simple test of writing to a file. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D125939
-
Xiang Li authored
Vector types in hlsl is using clang ext_vector_type. Declaration of vector types is in builtin header hlsl.h. hlsl.h will be included by default for hlsl shader. Reviewed By: Anastasia Differential Revision: https://reviews.llvm.org/D125052
-
Denis Revunov authored
Fix BOLT's constant island mapping when a constant island marked by $d spans multiple functions. Currently, because BOLT only marks the constant island in the first function where $d is located, if the next function contains data at its start, BOLT will miss the data and try to disassemble it. This patch adds code to explicitly go through all symbols between $d and $x markers and mark their respective offsets as data, which stops BOLT from trying to disassemble data. It also adds MarkerType enum and refactors related functions. Reviewed By: yota9, rafauler Differential Revision: https://reviews.llvm.org/D126177
-
Sam McCall authored
This reverts commit ce5ebf0b. Fails on bots e.g. https://buildkite-cloud.s3.amazonaws.com/logs-by-pipeline/f8ab115f-a384-49e8-a048-0f71ab03c5d0/0181020b-0737-40e5-a05a-ab198347d8ad/0181020b-ecbe-4ac6-ad23-e04c17217893.log?response-content-disposition=inline&response-content-type=text%2Fplain&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAQPCP3C7LT7IGTS76%2F20220531%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220531T202904Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEDwaCXVzLWVhc3QtMSJGMEQCIEfw6ocELTUWa2mj4reHKLe5OdUmQqVJpPs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j2%2FO8WU4pc%2FRqeBuGzzpQkAIGGxCwsmd3WG8Z8pyMoJomij7c4LO6ep4O0OUESxbXHcIfzUfR6ajPsKFKS9lb&X-Amz-SignedHeaders=host&X-Amz-Signature=96a132be6f99b5cd5cf29f3226115e480508079047bc8639d69c672f1fe9f0c1
-
wren romano authored
The primary goal of this change is to define readSparseTensorShape. Whereas the SparseTensorFile class is merely introduced as a way to reduce code duplication along the way. Depends On D126106 Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D126233
-
Xiang Li authored
This is to avoid err_target_unknown_abi which is caused by use default TargetTriple instead of shader model target triple. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D125585
-
Georg Kotheimer authored
When pretty printing the value of an expression, we cannot infer from the type of the expression the type of the constant that the expression evaluates to, as the expression might contain a type cast.
-
Nathaniel McVicar authored
Resolve MSVC warning C4104 for unreferenced variable Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D126683
-
Yi Kong authored
and recursively merge all files under said directory. This is similar to `llvm-profdata merge`. Differential Revision: https://reviews.llvm.org/D126695
-
Sam McCall authored
This is the intended way to request that build-time tools be built in a distinct configuration. This is set implicitly by LLVM_OPTIMIZED_TABLEGEN, which may be surprising, but if undesired this should be fixed elsewhere. Should fix crbug.com/1330304
-
Rafael Auler authored
Fix newline issue in link_fdata.py, as well as how to call the tool. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D126437
-
Andrzej Warzynski authored
Our ultimate goal is to rename `flang-new` as `flang`. This is "Step 1" in which we only rename the bash wrapper script, `flang`, as `flang-to-external-fc`. The new name more accurately reflects what the wrapper script does. With this patch, `flang` becomes a symbolic link pointing to `flang-to-external-fc`. This allows a smooth transmission for any buildbots that use this script. Once the buildbots are reconfigured to use the updated name, CMake rule for the symbolic link will be removed. For more context see: * https://discourse.llvm.org/t/rename-flang-new-as-flang, * https://reviews.llvm.org/D125788. Differential Revision: https://reviews.llvm.org/D125832
-
Andrew Browne authored
Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D126430
-
zhijian authored
Reviewers: David Tenty, Mark de Wever Differential Revision: https://reviews.llvm.org/D126376
-
Michael Wyman authored
-Wgnu-statement-expression currently warns for both direct source uses of statement expressions but also macro expansions; since they may be used by macros to avoid multiple evaluation of macro arguments, engineers might want to suppress warnings when statement expressions are expanded from macros but see them if introduced directly in source code. Differential Revision: https://reviews.llvm.org/D126522
-
zhijian authored
SUMMARY: fixed "LOCALE_fr_FR_UTF_8" for my_facet for AIX Reviewers: David Tenty, Mark de Wever Differential Revision: https://reviews.llvm.org/D125927
-
Arjun P authored
-
LLVM GN Syncbot authored
-
zhijian authored
[libc++][CI] fixed convert_thousands_sep_ru_RU for Russian in the libcxx/test/support/locale_helpers.h for AIX Reviewers: David Tenty, Mark de Wever Differential Revision: https://reviews.llvm.org/D125923
-
jeff authored
This patch implements a DAG mutation which adds edges between different groups of instructions. The purpose is to try to generate code that conforms to a pipeline (groupA instructions occur before groupB, groupB -> groupC, and so on). Currently the pipeline order is hardcoded as VMEM->DSRead->MFMA->DSWrite, but the patch was designed to be easily extensible. Alias analysis is problematic for pipelining as memory instructions will usually not be able to be reordered w.r.t one another. Differential Revision: https://reviews.llvm.org/D125997
-
Alex Brachet authored
-
Alex Brachet authored
-
Philip Reames authored
-
Craig Topper authored
If the adjustment doesn't fit in 12 bits, try to break it into two 12 bit values before falling back to movImm+add/sub. This is based on a similar idea from isel. Reviewed By: luismarques, reames Differential Revision: https://reviews.llvm.org/D126392
-
zhijian authored
Reviewers: David Tenty, Mark de Wever Differential Revision: https://reviews.llvm.org/D126474
-
Mark de Wever authored
P0798R8 "Monadic operations for std::optional" has been implemented, so this LWG issue can be adopted. During review it was discovered another paper bumped the macro. The part affecting optional of this paper is done, the variant isn't. The status page is updated to reflect the current state. Implements - LWG 3621 Remove feature-test macro __cpp_lib_monadic_optional Updates status of - P2231R1 Missing constexpr in std::optional and std::variant Reviewed By: #libc, philnik, ldionne Differential Revision: https://reviews.llvm.org/D125813
-
Alex Brachet authored
Differential revision: https://reviews.llvm.org/D126499
-
Alex Brachet authored
This symbol should not be exposed and doesn't need to be. Differential revision: https://reviews.llvm.org/D126548
-
Alex Brachet authored
`-gen-reproducer` causes crash reproduction to be emitted even when clang didn't crash, and now can optionally take an argument of never, on-crash (default), on-error and always. Differential revision: https://reviews.llvm.org/D120201
-
Craig Topper authored
The immediate for LUI is stored as 20-bit unsigned value. We need to sign extend if after shifting by 12 to match the instruction behavior. If we find an LUI+ADDI on RV64, it means the constant isn't a simm32. If it was, we would have emitted LUI+ADDIW from constant materialization. Make sure the constant is a simm32 before folding. This appears to match gcc. A future patch will add support for LUI+ADDIW on RV64.
-
Craig Topper authored
-
Sanjay Patel authored
X <=u (sext i1 Y) --> (X == 0) | Y https://alive2.llvm.org/ce/z/W_tZzo This is the conjugate/sibling pattern suggested with D126171 for a sign-extended bool value.
-
Sanjay Patel authored
These are adapted from the zext tests added for D126171.
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Originally we tried to use default expansion for v4i64 types to make it easier to concatenate the results back together, but this can cause infinite loop issues with existing VSELECT splitting code in narrowExtractedVectorSelect if we have other uses of the VSELECT results (e.g. reduction patterns). To fix the infinite loop, this patch always splits MIN/MAX v4i64 nodes during lowering and I've added a TODO for combineConcatVectorOps to investigate when we can cheaply concatenate VSELECT/BLENDV nodes together. Fixes #55648 - regression test case will be added in a follow up.
-
Joseph Huber authored
-