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

via flang-commits flang-commits at lists.llvm.org
Mon May 27 01:33:14 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";
----------------
jeanPerier wrote:

Thanks!

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


More information about the flang-commits mailing list