[llvm] [NVPTX] Add NewPM codegen pipeline (PR #215712)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 17:57:30 PDT 2026


================
@@ -137,6 +136,9 @@ NVPTXTargetMachine::NVPTXTargetMachine(const Target &T, const Triple &TT,
       Subtarget(TT, CPU, FS, *this), StrPool(StrAlloc) {
   if (!DisableRequireStructuredCFG)
     setRequiresStructuredCFG(true);
+  // NVPTX does not produce verifier-clean MIR yet; see isMachineVerifierClean()
+  // for the legacy pass manager equivalent.
+  setEnableDefaultMachineVerifier(false);
----------------
boomanaiden154 wrote:

Ah, missed that this is just how AMDGPU does this. This LGTM.

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


More information about the llvm-commits mailing list