1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[flang][openacc] Add check for tile clause restriction

The tile clause in OpenACC 3.0 imposes some restriction. Element in the tile size list are either * or a
constant positive integer expression. If there are n tile sizes in the list, the loop construct must be immediately
followed by n tightly-nested loops.
This patch implement these restrictions and add some tests.

Reviewed By: klausler

Differential Revision: https://reviews.llvm.org/D86655
This commit is contained in:
Valentin Clement 2020-08-27 22:13:29 -04:00 committed by clementval
parent 1f90029baa
commit ba3e93ca35

View File

@ -192,7 +192,7 @@ def ACCC_Private : Clause<"private"> {
// 2.9.7
def ACCC_Tile : Clause <"tile"> {
let flangClassValue = "AccSizeExprList";
let flangClassValue = "AccTileExprList";
}
// 2.8.1