[llvm] [LLVM][NVPTX]: Add intrinsic for setmaxnreg (PR #77289)
Durgadoss R via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 9 03:35:43 PST 2024
================
@@ -164,6 +164,10 @@ def True : Predicate<"true">;
class hasPTX<int version>: Predicate<"Subtarget->getPTXVersion() >= " # version>;
class hasSM<int version>: Predicate<"Subtarget->getSmVersion() >= " # version>;
+// Explicit records for arch-accelerated SM versions
+def hasSM90a : Predicate<"Subtarget->getSmVersion() == 90"
----------------
durga4github wrote:
Fixed to use only getFullSmVersion() in the latest revision.
https://github.com/llvm/llvm-project/pull/77289
More information about the llvm-commits
mailing list