alexcrichton opened issue #15278:
This input:
test inline target x86_64 function %poll_callee(i64, i64, i64) -> i64 tail { block0(v0: i64, v1: i64, v2: i64): v4 = interrupt_poll v1, v2, user3 return v4 } function %poll_caller(i64, i64, i64) -> i64 system_v { fn0 = %poll_callee(i64, i64, i64) -> i64 tail block0(v0: i64, v1: i64, v2: i64): v4 = call fn0(v0, v1, v2) return v4 }fails with:
$ clif-util test inline.clif FAIL inline.clif: inline Caused by: 0: CLIF verification error after inlining ... ; error: inst2 (v6 = interrupt_poll.i64 v1, v2, user3): `interrupt_poll` requires the `tail` calling convention
alexcrichton added the bug label to Issue #15278.
alexcrichton added the cranelift label to Issue #15278.
cfallin commented on issue #15278:
cc @erikrose, can you address? It looks like we'll need to forbid inlining of
interrupt_pollwhen the function inlined-into does not have atailABI.
erikrose commented on issue #15278:
Yes!
Last updated: Nov 19 2026 at 20:05 UTC