[Mlir-commits] [mlir] [OpenMP][Flang] Add "IsolatedFromAbove" trait to omp.target (PR #67164)
Valentin Clement バレンタイン クレメン
llvmlistbot at llvm.org
Fri Oct 13 09:28:52 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,
----------------
clementval wrote:
The design seems wrong here. Why do you need to allow for an integer here? The argument name suggests a `ptr` right now.
https://github.com/llvm/llvm-project/pull/67164
More information about the Mlir-commits
mailing list