[llvm] [Intrinsics] Make `patchpoint.i64` generic on its return type (PR #85911)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 02:38:47 PDT 2024


================
@@ -5661,6 +5661,11 @@ void Verifier::visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call) {
     }
     break;
   }
+  case Intrinsic::experimental_patchpoint: {
+    Check(Call.getType()->isSingleValueType(),
+          "patchpoint result type is not a valid type for a register", Call);
----------------
arsenm wrote:

rephrase to not speak of registers here 

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


More information about the llvm-commits mailing list