[flang-commits] [flang] [flang][cuda] Enable data transfer for descriptors (PR #92804)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Mon May 20 14:57:25 PDT 2024


================
@@ -154,13 +154,15 @@ def cuf_DataTransferOp : cuf_Op<"data_transfer", []> {
     ```
   }];
 
-  let arguments = (ins Arg<AnyReferenceLike, "", [MemWrite]>:$src,
-                       Arg<AnyReferenceLike, "", [MemRead]>:$dst,
+  let arguments = (ins Arg<AnyRefOrBoxType, "", [MemWrite]>:$src,
----------------
clementval wrote:

Yes it should follow the assignment semantic. I added a comment in that sense. 

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


More information about the flang-commits mailing list