[llvm] [NVPTX] Only run LowerUnreachable when necessary (PR #109868)

Justin Fargnoli via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 19:21:17 PDT 2024


================
@@ -95,6 +95,7 @@ class NVPTXSubtarget : public NVPTXGenSubtargetInfo {
   bool hasDotInstructions() const {
     return SmVersion >= 61 && PTXVersion >= 50;
   }
+  bool hasPTXASUnreachableBug() const { return PTXVersion < 83; }
----------------
justinfargnoli wrote:

5d2902dde6a611b6dc531a0c747c596415326e30

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


More information about the llvm-commits mailing list