[Mlir-commits] [flang] [mlir] [mlir][acc] Adds attr to acc.present to identify default clause origin (PR #169114)

Razvan Lupusoru llvmlistbot at llvm.org
Mon Nov 24 09:58:43 PST 2025


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

After discussion with Valentin - we will keep it as a discardable attribute for now and revisit if we find that we need to more reliably capture the "reason" for an implicit action for reporting reasons.

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


More information about the Mlir-commits mailing list