- Apr 21, 2022
-
-
Dmitry Preobrazhensky authored
Differential Revision: https://reviews.llvm.org/D124087
-
Daniil Dudkin authored
The following code causes the compiler to ICE in several places due to lack of support of recursive procedure definitions through the function result. function foo() result(r) procedure(foo), pointer :: r end function foo -
Daniil Dudkin authored
An empty commit to test the access
-
Sven van Haastregt authored
Ensure that any `read_write` image type carries the `__opencl_c_read_write_images` upon construction of the `ImageType`.
-
Haojian Wu authored
to consistent with other tweaks.
-
Nikita Popov authored
Rather than creating a PHI node and then using the PHI threading code, directly handle this case in FoldCondBranchOnValueKnownInPredecessor(). This change is supposed to be NFC-ish, but may cause changes due to different transform order.
-
Haojian Wu authored
This is a followup of https://reviews.llvm.org/D123127, adding support for the QualifiedTemplateName. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D123775
-
Nikita Popov authored
This general threading transform can be performed whenever we know a constant value for the condition in a predecessor, which would currently just be the case of a phi node with constant arguments.
-
gpei-dev authored
The related instructions are: VPERMD/Q/PS/PD VRANGEPD/PS/SD/SS VGETMANTSS/SD/SH VGETMANDPS/PD - mem version only VPMULLQ VFMULCSH/PH VFCMULCSH/PH Differential Revision: https://reviews.llvm.org/D116072
-
Nikita Popov authored
This reverts commit 3b132300. It looks like GVNSink is currently non-deterministic, due to an std::sort() on BasicBlock* pointers in ModelledPHI. This becomes visible in the generated checks.
-
wangpc authored
We saw a failure caused by unwinding with incomplete CFIs, so we can't outline CFI instructions when they are needed in EH. Reviewed By: luismarques Differential Revision: https://reviews.llvm.org/D122634
-
wangpc authored
Reviewed By: luismarques Differential Revision: https://reviews.llvm.org/D123364
-
Nikita Popov authored
-
Tobias Hieta authored
Add a new CMake file to expand on for more problematic configurations in the future. Related to #54645 Reviewed By: beanz, phosek, smeenai Differential Revision: https://reviews.llvm.org/D123777
-
Chuanqi Xu authored
-
Nimish Mishra authored
This patch adds lowering support for atomic read and write constructs. Also added is pointer modelling code to allow FIR pointer like types to be inferred and converted while lowering. Reviewed By: kiranchandramohan Differential Revision: https://reviews.llvm.org/D122725 Co-authored-by:
Kiran Chandramohan <kiran.chandramohan@arm.com>
-
Xiang Li authored
Shader attribute is for shader library identify entry functions. Here's an example, [shader("pixel")] float ps_main() : SV_Target { return 1; } When compile this shader to library target like -E lib_6_3, compiler needs to know ps_main is an entry function for pixel shader. Shader attribute is to offer the information. A new attribute HLSLShader is added to support shader attribute. It has an EnumArgument which included all possible shader stages. Reviewed By: aaron.ballman, MaskRay Differential Revision: https://reviews.llvm.org/D123907 -
Fraser Cormack authored
We can't shift-right negative numbers to divide them, so avoid emitting such sequences. Use negative numerators as a proxy for this situation, since the indices are always non-negative. An alternative strategy could be to add a compiler flag to emit division instructions, which would at least allow us to test the VID sequence matching itself. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D123796
-
Fraser Cormack authored
This test shows a (contrived) BUILD_VECTOR which is correctly identified as a sequence of ((vid * -3) / 8) + 5. However, the issue is that using shift-right for the divide is invalid as the step values are negative. This patch just adds the test: the fix is added in D123796. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D123989
-
Fangrui Song authored
Linux kernel arch/arm64/kernel/vmlinux.lds.S discards .dynsym . D123985 triggers a spurious assertion failure. Detect the case with `!mainPart->dynSymTab->getParent()`.
-
River Riddle authored
The special case parsing of operations in the `func` dialect is being removed, and operations will require the dialect namespace prefix.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
[mlir][NFC] Update textual references of `func` to `func.func` in LLVM/Math/MemRef/NVGPU/OpenACC/OpenMP/Quant/SCF/Shape tests The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
[mlir][NFC] Update textual references of `func` to `func.func` in Bufferization/Complex/EmitC/CF/Func/GPU tests The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
River Riddle authored
The special case parsing of `func` operations is being removed.
-
Craig Topper authored
We haven't been updating this as Zb* instructions have been used for immediate materialization. They will hit the default case and trigger an llvm_unreachable. Instead of trying to list them all, assume instructions that aren't explicitly listed aren't compressible. Spotted while looking at integer materialization for other reasons. I haven't seen a crash from this yet.
-