Intrinsics can only be called directly, taking their address is not legal. This is currently only enforced for intrinsics that have an ID, rather than all intrinsics. Adjust the check to cover all intrinsics.
This came up in D106013.
Differential D106095
[Verifier] Extend address taken check for unknown intrinsics Authored by nikic on Jul 15 2021, 1:31 PM.
Details
Intrinsics can only be called directly, taking their address is not legal. This is currently only enforced for intrinsics that have an ID, rather than all intrinsics. Adjust the check to cover all intrinsics. This came up in D106013.
Diff Detail
|