[Mlir-commits] [mlir] [OpenMP][MLIR] Add `private` clause to `omp.target` (PR #91202)
Kareem Ergawy
llvmlistbot at llvm.org
Tue May 7 01:36:46 PDT 2024
================
@@ -469,14 +469,18 @@ ParseResult parseClauseWithRegionArgs(
static void printClauseWithRegionArgs(OpAsmPrinter &p, Operation *op,
ValueRange argsSubrange,
StringRef clauseName, ValueRange operands,
- TypeRange types, ArrayAttr symbols) {
- p << clauseName << "(";
+ TypeRange types, ArrayAttr symbols,
+ bool printPrefixSuffix = true) {
+ if (printPrefixSuffix)
+ p << clauseName << "(";
----------------
ergawy wrote:
Makes sense. Thanks for the suggestion. Done.
https://github.com/llvm/llvm-project/pull/91202
More information about the Mlir-commits
mailing list