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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 20 03:31:03 PDT 2024


================
@@ -5661,6 +5661,12 @@ void Verifier::visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call) {
     }
     break;
   }
+  case Intrinsic::experimental_patchpoint: {
+    // Check that result type can fit in a single register.
+    Check(Call.getType()->isSingleValueType(),
----------------
arsenm wrote:

This isn't really what this means. It may be reasonable to assert this, but we have no way of knowing anything about the machine registers here 

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


More information about the llvm-commits mailing list