[flang-commits] [flang] [OpenMP][Flang] Add "IsolatedFromAbove" trait to omp.target (PR #67164)
Akash Banerjee via flang-commits
flang-commits at lists.llvm.org
Tue Oct 17 04:18:13 PDT 2023
================
@@ -1144,14 +1144,13 @@ def DataBoundsOp : OpenMP_Op<"bounds",
}
def MapInfoOp : OpenMP_Op<"map_info", [AttrSizedOperandSegments]> {
- let arguments = (ins OpenMP_PointerLikeType:$var_ptr,
- Optional<OpenMP_PointerLikeType>:$var_ptr_ptr,
+ let arguments = (ins AnyTypeOf<[IntLikeType, Index, OpenMP_PointerLikeType]>:$var_ptr,
----------------
TIFitis wrote:
Yes, it does. It's just that %4 isn't a pointer type.
Instead of adding a new %val, should we rename the existing %var_ptr to %val and allow both?
https://github.com/llvm/llvm-project/pull/67164
More information about the flang-commits
mailing list