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

Razvan Lupusoru llvmlistbot at llvm.org
Fri Nov 21 14:43: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:

This is not a critical property - the intent for this is to be useful for remarks reporting. Once it becomes part of an operation, it requires changes throughout the pipeline including changes to builders. Additionally, the way data entry operations are defined, it is hard to make a change of operand for just a single operation due to the builders also.

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


More information about the Mlir-commits mailing list