[flang-commits] [clang] [flang] [llvm] [OpenMP] Fix context selector matching and scoring (PR #231668)

via flang-commits flang-commits at lists.llvm.org
Fri Oct 16 23:09:02 PDT 2026


================
@@ -2500,18 +2500,21 @@ static void AddTraitPropertiesFromSelector(llvm::omp::TraitSet set,
       if (!scalarExpr) {
         continue;
       }
+      // Subset checks compare condition identities; distinct conditions must
+      // not share one.
+      llvm::StringRef identity{prop.source.begin(), prop.source.size()};
----------------
MattPD wrote:

The parsed-expression profile is removed from this PR, so this case can move to the condition-identity follow-up.

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


More information about the flang-commits mailing list