[llvm] [Intrinsics] Make `patchpoint.i64` generic on its return type (PR #85911)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 20 04:16:32 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(),
----------------
Il-Capitano wrote:
I was basing this off the doc comment for `isSingleValueType`: "Return true if the type is a valid type for a register in codegen."
Do you have a suggestion for constraining the type somehow?
https://github.com/llvm/llvm-project/pull/85911
More information about the llvm-commits
mailing list