The provided testcase would previously fail with an assertion due to later down below trying to allocate registers for token return types and arguments. This is especially problematic as the process would then exit instead of falling back to using FastIsel.
This patch fixes that by simply explicitly failing translation if either of these intrinsics are encountered.
Fixes https://github.com/llvm/llvm-project/issues/57349
Another attempt of mine modified the code below to avoid allocating registers for token types. I felt like that approach was more fragile however and would essentially turn to dead code in a future where these intrinsics get a custom lowering.