[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:41:11 PST 2025


================
@@ -177,6 +177,10 @@ static constexpr StringLiteral getRoutineInfoAttrName() {
   return StringLiteral("acc.routine_info");
 }
 
+static constexpr StringLiteral getFromDefaultClauseAttrName() {
+  return StringLiteral("default");
----------------
clementval wrote:

Why not adding the attribute directly on the op? 

https://github.com/llvm/llvm-project/pull/169114


More information about the Mlir-commits mailing list