File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
flang/include/flang/Optimizer/Dialect Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -560,7 +560,7 @@ def fir_OmpTargetAllocMemOp : fir_Op<"omp_target_allocmem",
560
560
561
561
def fir_OmpTargetFreeMemOp : fir_Op<"omp_target_freemem",
562
562
[MemoryEffects<[MemFree]>]> {
563
- let summary = "free a heap object";
563
+ let summary = "free a heap object on an openmp device ";
564
564
565
565
let description = [{
566
566
Deallocates a heap memory reference that was allocated by an `omp_target_allocmem`.
@@ -569,7 +569,7 @@ def fir_OmpTargetFreeMemOp : fir_Op<"omp_target_freemem",
569
569
```
570
570
%device = arith.constant 0 : i32
571
571
%1 = fir.omp_target_allocmem %device : i32, !fir.array<3x3xi32>
572
- fir.omp_target_freemem %device, %1 : i32, !fir.heap<!fir.array<?xf32 >>
572
+ fir.omp_target_freemem %device, %1 : i32, !fir.heap<!fir.array<3x3xi32 >>
573
573
```
574
574
}];
575
575
You can’t perform that action at this time.
0 commit comments