[clang] [OpenACC][CIR] Implement beginning of 'copy' lowering for compute con… (PR #140304)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Fri May 16 15:45:55 PDT 2025


================
@@ -36,6 +37,76 @@ template <typename ToTest> constexpr bool isCombinedType = false;
 template <typename T>
 constexpr bool isCombinedType<CombinedConstructClauseInfo<T>> = true;
 
+namespace {
+struct DataOperandInfo {
+  mlir::Location beginLoc;
+  mlir::Value varValue;
+  llvm::StringRef name;
+  mlir::ValueRange bounds;
+
+  DataOperandInfo(mlir::Location beginLoc, mlir::Value varValue,
----------------
andykaylor wrote:

Is an explicit constructor necessary? Do you intend to add something other than 1:1 member initialization later?

https://github.com/llvm/llvm-project/pull/140304


More information about the cfe-commits mailing list