[llvm] [LLVM][NVPTX] Enable family specific support for a few intrinsics (PR #173268)

Srinivasa Ravi via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 21:25:14 PST 2025


================
@@ -211,6 +226,7 @@ class NVPTXSubtarget : public NVPTXGenSubtargetInfo {
   // present.
   bool hasPTXASUnreachableBug() const { return PTXVersion < 83; }
   bool hasCvtaParam() const { return SmVersion >= 70 && PTXVersion >= 77; }
+  bool hasCVTRs() const { return hasPTXWithAccelSMs(87, {100, 103}); }
----------------
Wolfram70 wrote:

`hasConvertStochasticRounding` maybe?

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


More information about the llvm-commits mailing list