[flang-commits] [flang] [flang] add fir.rebox_assumed_rank operation (PR #93334)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Fri May 24 12:45:27 PDT 2024


================
@@ -857,6 +857,43 @@ def fir_ReboxOp : fir_Op<"rebox", [NoMemoryEffect, AttrSizedOperandSegments]> {
   let hasVerifier = 1;
 }
 
+def fir_ReboxAssumedRankOp : fir_Op<"rebox_assumed_rank",
+  [DeclareOpInterfaceMethods<MemoryEffectsOpInterface>]> {
+  let summary = "create an assumed-rank box given another assumed rank-box";
----------------
clementval wrote:

```suggestion
  let summary = "create an assumed-rank box given another assumed-rank box";
```
For consistency with the first `assumed-rank`?

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


More information about the flang-commits mailing list