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

Rajat Bajpai via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 22:19:56 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}); }
----------------
rajatbajpai wrote:

Not looking to bikeshed here 🙂 `hasConvertWithStochasticRounding` or `hasStochasticRoundingConvert` both seem fine to me

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


More information about the llvm-commits mailing list