================
@@ -137,6 +137,7 @@ def hasAtomBitwise64 : 
Predicate<"Subtarget->hasAtomBitwise64()">;
 def hasAtomMinMax64 : Predicate<"Subtarget->hasAtomMinMax64()">;
 def hasVote : Predicate<"Subtarget->hasVote()">;
 def hasDouble : Predicate<"Subtarget->hasDouble()">;
+def hasClusters : Predicate<"Subtarget->hasClusters()">;
----------------
modiking wrote:

Good catch, it's meant to unify how we check for support of features:
```
  bool hasClusters() const { return SmVersion >= 90 && PTXVersion >= 78; }
```

Updating the predicate checks in the td files to use this instead.

https://github.com/llvm/llvm-project/pull/135444
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to