[llvm] [NVPTX] Update architecture support checks for tcgen05 intrinsics (PR #161519)

Rajat Bajpai via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 7 00:09:39 PDT 2025


================
@@ -101,6 +101,35 @@ def PrmtMode : Operand<i32> {
 // NVPTX Instruction Predicate Definitions
 //===----------------------------------------------------------------------===//
 
+// Helper predicate to compose multiple predicates.
+class AnyPred<list<Predicate> Preds>
+    : Predicate<"(" #
+                !interleave(!foreach(pred, Preds, pred.CondString),
+                            ") || (") #
+                ")">;
+
+// Checks PTX version and family-specific and architecture-specific SM versions.
----------------
rajatbajpai wrote:

Added

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


More information about the llvm-commits mailing list