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

via flang-commits flang-commits at lists.llvm.org
Wed Oct 21 10:56:54 PDT 2026


================
@@ -172,7 +170,8 @@ static bool isStrictSubset(const VariantMatchInfo &VMI0,
   for (unsigned Bit : VMI0.RequiredTraits.set_bits())
     if (!VMI1.RequiredTraits.test(Bit))
       return false;
-  if (!isSubset<TraitProperty>(VMI0.ConstructTraits, VMI1.ConstructTraits))
+  if (!isOrderedSubset<TraitProperty>(VMI0.ConstructTraits,
----------------
chichunchen wrote:

Rebased and verified in https://github.com/llvm/llvm-project/pull/231668/changes/a3e97a634a41e7554aae1a899809977f3fd593f8. 

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


More information about the flang-commits mailing list