I assume I’m doing something wrong, but the llvm.experimental.patchpoint.*
intrinsic seems to not be functional at all.
In my example, I use both the stackmap
and patchpoint
intrinsics. The stack map intrinsic seems to work and adds information to the stack map, but the patchpoint intrinsic generates a simple function call (call llvm.experimental.patchpoint.i32@PLT
).
Here’s a link to the example: Compiler Explorer