llvm.experimental.patchpoint.i64 Intrinsic Should Assert If Use AnyRegCC

    I am jammed by a tricky bug for a while. That is I use anyregcc for
    a llvm.experimental.patchpoint.i64, and LLVM fails to lower it for
    me. I wonder if it would be better if LLVM triggers an assertion
    when someone tries this. The correct intrinsic to use should be

If you think you've found a bug, please file a bug report.

From your description, I can't really tell what you did and expected. If you want further input, please make sure to include IR examples and what you'd expect to see.