llvm-project/mlir/lib/Target/LLVMIR/Dialect
Michael Kruse b1de32d6dd [OMPIRBuilder] Clarify CanonicalLoopInfo. NFC.
Add in-source documentation on how CanonicalLoopInfo is intended to be used. In particular, clarify what parts of a CanonicalLoopInfo is considered part of the loop, that those parts must be side-effect free, and that InsertPoints to instructions outside those parts can be expected to be preserved after method calls implementing loop-associated directives.

CanonicalLoopInfo are now invalidated after it does not describe canonical loop anymore and asserts when trying to use it afterwards.

In addition, rename `createXYZWorkshareLoop` to `applyXYZWorkshareLoop` and remove the update location to avoid that the impression that they insert something from scratch at that location where in reality its InsertPoint is ignored. createStaticWorkshareLoop does not return a CanonicalLoopInfo anymore. First, it was not a canonical loop in the clarified sense (containing side-effects in form of calls to the OpenMP runtime). Second, it is ambiguous which of the two possible canonical loops it should actually return. It will not be needed before a feature expected to be introduced in OpenMP 6.0

Also see discussion in D105706.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D107540
2021-08-12 21:02:19 -05:00
..
AMX [mlir][amx] Add Intel AMX dialect (architectural-specific vector dialect) 2021-03-15 17:59:05 -07:00
ArmNeon [mlir] Update comments in ArmNeon dialect. NFC 2021-03-10 13:35:57 +01:00
ArmSVE [mlir][ArmSVE] Cleanup dialect registration 2021-04-16 15:56:51 +02:00
LLVMIR [mlir] Add LLVM loop codegen options to control software pipelining 2021-03-11 16:46:44 +01:00
NVVM [MLIR][GPU][NVVM] Add warp synchronous matrix-multiply accumulate ops 2021-05-06 12:06:25 +05:30
OpenACC [mlir][openacc] Initial translation for DataOp to LLVM IR 2021-07-27 22:04:04 -04:00
OpenMP [OMPIRBuilder] Clarify CanonicalLoopInfo. NFC. 2021-08-12 21:02:19 -05:00
ROCDL [mlir] make implementations of translation to LLVM IR interfaces private 2021-03-04 09:16:32 +01:00
X86Vector [mlir] Rename AVX512 dialect to X86Vector 2021-04-12 19:20:04 +02:00
CMakeLists.txt [mlir][openacc] Add OpenACC translation to LLVM IR (enter_data op create/copyin) 2021-05-12 13:41:14 -04:00