[Mlir-commits] [flang] [mlir] [mlir][acc] Adds attr to acc.present to identify default clause origin (PR #169114)
Valentin Clement バレンタイン クレメン
llvmlistbot at llvm.org
Fri Nov 21 14:50:54 PST 2025
================
@@ -177,6 +177,10 @@ static constexpr StringLiteral getRoutineInfoAttrName() {
return StringLiteral("acc.routine_info");
}
+static constexpr StringLiteral getFromDefaultClauseAttrName() {
+ return StringLiteral("default");
----------------
clementval wrote:
In my opinion discardable attributes should only be used when we have no control over the operation. In this case we own the dialect so we could make the change.
https://github.com/llvm/llvm-project/pull/169114
More information about the Mlir-commits
mailing list