[mlir][openacc] Change operand type from index to AnyInteger in parallel op
authorValentin Clement <clementval@gmail.com>
Thu, 17 Sep 2020 15:33:31 +0000 (11:33 -0400)
committerclementval <clementval@gmail.com>
Thu, 17 Sep 2020 15:33:55 +0000 (11:33 -0400)
commit6d3cabd90eedee07a6e6cbf2dfa952e23cef192c
tree014f4ba96c0eeeb6dc2cd110302f08cddb1a1a2f
parent72a4a478fe12f3052d1f73c5e5b4a905c8dfcf1b
[mlir][openacc] Change operand type from index to AnyInteger in parallel op

This patch change the type of operands async, wait, numGangs, numWorkers and vectorLength from index
to AnyInteger to fit with acc.loop and the OpenACC specification.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D87712
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
mlir/test/Dialect/OpenACC/ops.mlir