[Mlir-commits] [mlir] 8cf814e - [openacc] Add declare op to data construct operations list

Razvan Lupusoru llvmlistbot at llvm.org
Tue Aug 29 13:35:35 PDT 2023


Author: Razvan Lupusoru
Date: 2023-08-29T12:47:12-07:00
New Revision: 8cf814e6bd70f67db9efd903cbf1887404360da8

URL: https://github.com/llvm/llvm-project/commit/8cf814e6bd70f67db9efd903cbf1887404360da8
DIFF: https://github.com/llvm/llvm-project/commit/8cf814e6bd70f67db9efd903cbf1887404360da8.diff

LOG: [openacc] Add declare op to data construct operations list

The macro ACC_DATA_CONSTRUCT_OPS defines all operations which are
data constructs. The recently DeclareOp was not added to the list.
Add it now.

Reviewed By: vzakhari, clementval

Differential Revision: https://reviews.llvm.org/D159063

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/OpenACC/OpenACC.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/OpenACC/OpenACC.h b/mlir/include/mlir/Dialect/OpenACC/OpenACC.h
index dce61ee54e96ff..f2b9a19f1858b5 100644
--- a/mlir/include/mlir/Dialect/OpenACC/OpenACC.h
+++ b/mlir/include/mlir/Dialect/OpenACC/OpenACC.h
@@ -46,7 +46,7 @@
 #define ACC_DATA_CONSTRUCT_OPS                                                 \
   mlir::acc::DataOp, mlir::acc::EnterDataOp, mlir::acc::ExitDataOp,            \
       mlir::acc::UpdateOp, mlir::acc::HostDataOp, mlir::acc::DeclareEnterOp,   \
-      mlir::acc::DeclareExitOp
+      mlir::acc::DeclareExitOp, mlir::acc::DeclareOp
 #define ACC_COMPUTE_AND_DATA_CONSTRUCT_OPS                                     \
   ACC_COMPUTE_CONSTRUCT_OPS, ACC_DATA_CONSTRUCT_OPS
 


        


More information about the Mlir-commits mailing list