- Jul 24, 2023
-
-
Jacques Pienaar authored
This reduces code generated for type inference and instead reuses facilities CAPI side that performed same role. Differential Revision: https://reviews.llvm.org/D156041t
-
Pravin Jagtap authored
When input to intrinsic is uniform value, reduced value is same as input whereas if input value is divergent we need to iterate over all active lanes of WaveFront to perform the reduction. The control flow for a `loop` has been set up, which iterates over `only` active lanes to perform reduction. Introduced WAVE_REDUCE_UMIN_PSEUDO_U32 and WAVE_REDUCE_UMAX_PSEUDO_U32 Pseudos which are lowered Post-ISel (in `EmitInstrWithCustomInserter `). Reviewed By: arsenm, #amdgpu Differential Revision: https://reviews.llvm.org/D154858
-
Jim Lin authored
The definition order is operand/SDNode, instruction class template, instruction, pseudo instruciton, codegen patterns, ....
-
Jie Fu authored
/Users/jiefu/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp:53:13: error: unused variable 'v2s8' [-Werror,-Wunused-variable] const LLT v2s8 = LLT::fixed_vector(2, 8); ^ 1 error generated. -
Shilei Tian authored
This reverts commits for kernel environments as they causes issues in AMD BB.
-
Zhongyunde authored
Refer to commit ccffc270, the remaining types <2 x s8> and <4 x s8> should also be promoted to <2 x s32> and <4 x s16>. Fixes https://github.com/llvm/llvm-project/issues/58274 Reviewed By: aemerson, tschuett, paquette, dmgreen Differential Revision: https://reviews.llvm.org/D153394
-
Farid Zakaria authored
I noticed during the build that GCC would emit a ton of nonnull warnings. Example: ``` /usr/local/google/home/fmzakari/code/github.com/llvm/llvm-project/clang/include/clang/AST/ExternalASTSource.h:378:54: warning: ‘this’ pointer is null [-Wnonnull] 378 | Ptr = reinterpret_cast<uint64_t>((Source->*Get)(Ptr >> 1)); | ~~~~~~~~~~~~~~^~~~~~~~~~ ``` Reviewed By: MaskRay, rsmith Differential Revision: https://reviews.llvm.org/D155857
-
Wu, Yingcong authored
`PRE_READ` is called with a pointer and the size of the object the pointer points to. But there is one line of code not calling `PRE_READ` correctly(likely missing a dereference). This patch fixes the problem. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D154676
-
Jun Sha (Joshua) authored
The implementation in https://reviews.llvm.org/D151313 is done for the circumstance without Zfbfmin. This patch adds codegen support for the 6 instructions provided in Zfbfmin extension. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D153234
-
Freddy Ye authored
Frontend didn't and this feature.
-
khei4 authored
Reapply: [MemCpyOpt] implement single BB stack-move optimization which unify the static unescaped allocas"" This reverts commit c9d419c1. Differential Revision: https://reviews.llvm.org/D153453
-
Shilei Tian authored
-
Shilei Tian authored
-
Shilei Tian authored
-
Shilei Tian authored
This patch introduces per kernel environment. Previously, flags such as execution mode are set through global variables with name like `__kernel_name_exec_mode`. They are accessible on the host by reading the corresponding global variable, but not from the device. Besides, some assumptions, such as no nested parallelism, are not per kernel basis, preventing us applying per kernel optimization in the device runtime. This is a combination and refinement of patch series D116908, D116909, and D116910. Depend on D155886. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D142569
-
Fangrui Song authored
Close #64053
-
Fangrui Song authored
-
Shilei Tian authored
Current global address caculation doesn't work for AMDGPU in some cases (https://reviews.llvm.org/D142569#4506212). The root cause is the `sh_addr` is not substracted when caculating the address. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D155886
-
Andrzej Warzynski authored
-
Shivam Gupta authored
[clang-tidy] performance-* checks: Also allow allow member expressions to be used in a const manner. Until now when determining all the const uses of a VarDecl we only considered how the variable itself was used. This change extends checking for const usages of the type's members as well. This increases the number of true positives for various performance checks that share the same const usage analysis. Path by Felix Berger Reviewed By: njames93, PiotrZSL Differential Revision: https://reviews.llvm.org/D97567
-
David Green authored
This patch does two things. First it removes the tryHighFPExt DAG2DAG method used to select fcvtl2 instructions, using tablegen patterns through SelectExtractHigh instead. This essentially undoes D71515, in a way that should hopefully avoid any regressions. The second is that a GI equivalent of SelectExtractHigh is added in selectExtractHigh, from G_UNMERGE_VALUES. The end result is that GlobalISel (and some constrained fpext) can now make use of the fcvtl2 instructions, saving an extra dup/ext. Differential Revision: https://reviews.llvm.org/D155871
-
Piotr Zegar authored
CI failed on "ubuntu-fast" due to disabled exceptions. This reverts commit f256fee5.
-
LLVM GN Syncbot authored
-
Piotr Zegar authored
Detects and suggests addressing issues with empty catch statements. Reviewed By: xgupta Differential Revision: https://reviews.llvm.org/D144748
-
Simon Pilgrim authored
-
Noah Goldstein authored
D152673 Incorrectly didn't account for operand position in the `icmp`, i.e it treated `icmp uge x, y` the same as `icmp uge y, x` which is incorrect: https://reviews.llvm.org/rG142f7448e770f25b774b058a7eab1f107c4daad9 The fix takes operand position into account. The new tests exhaustively cover all operand positions for `ule`, `uge`, `ult`, `ugt` (the set of predicates) and all transform verify with the new commit. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D156058
-
- Jul 23, 2023
-
-
David Green authored
Similar to D155311, this adds lowering for more vector cases for FPExt Differential Revision: https://reviews.llvm.org/D155601
-
Maksim Panchenko authored
A jump table in a split function may contain an entry matching a start address of another fragment of the function. While converting addresses to labels, we used to ignore such entries resulting in underpopulated jump table. Change that, so we always create one label per address. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D156013
-
Nuno Lopes authored
This value is patcher afterwards, and only used temporarily during dbg info construction
-
Simon Pilgrim authored
-
Simon Pilgrim authored
Use the divideCeil uint64_t return type directly
-
Nuno Lopes authored
Per latest LangRef
-
Shivam Gupta authored
-
Phoebe Wang authored
Found this problem when investigating #63017 Reviewed By: RKSimon Differential Revision: https://reviews.llvm.org/D156050
-
Piotr Zegar authored
Correct links to fuchsia codding standard in documentation for fuchsia-* checks. Partially fixes: #62334
-
Simon Pilgrim authored
Fixes style warning
-
Antonio Frighetto authored
-
Antonio Frighetto authored
Do not assume scalar types when folding binops of `select` operations and `zext`/`sext` of their condition. Reported-by: Benjins, dyung Proofs: https://alive2.llvm.org/ce/z/GmDLns
-
Simon Pilgrim authored
Consistently use SDLoc DL
-
Simon Pilgrim authored
-