[flang-commits] [flang] [flang] Allow `VariableAssignBufferization` to handle `hlfir::ExprType` (PR #115136)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Thu Nov 7 10:00:22 PST 2024


================
@@ -796,3 +796,45 @@ func.func @_QPddx(%arg0: !fir.box<!fir.array<?x?xf64>> {fir.bindc_name = "array"
 // CHECK:           %[[VAL_61:.*]] = fir.load %[[VAL_26]]#1 : !fir.ref<!fir.array<?x?xf64>>
 // CHECK:           return %[[VAL_61]] : !fir.array<?x?xf64>
 // CHECK:         }
+
+// `hlfir.expr` bufferization (when the expresion is not the result of
+// `hlfir.elemental`
----------------
tblah wrote:

nit
```suggestion
// `hlfir.elemental`)
```

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


More information about the flang-commits mailing list