[flang-commits] [flang] [flang][cuda] Enable data transfer for descriptors (PR #92804)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Mon May 20 14:41:45 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,
----------------
vzakhari wrote:
Can you please clarify in the comment above what happens when the operands are box references? I assume it is following the assignment semantics, so both the LHS data and the descriptor are updated.
https://github.com/llvm/llvm-project/pull/92804
More information about the flang-commits
mailing list