ultimaweapon opened issue #12822:
Docs from current version said:
If this is
true, then it is okay to code motion this instruction to arbitrary locations, in the function, including across blocks and conditional branches, so long as data dependencies (and trap ordering, if any) are upheld.It does not mention if the instruction can move across a call.
cfallin commented on issue #12822:
Yes, loads tagged with
can_movecan move across calls as well, as long as the other flags (readonlyandnotrap) also allow this without changing observable behavior.
cfallin closed issue #12822:
Docs from current version said:
If this is
true, then it is okay to code motion this instruction to arbitrary locations, in the function, including across blocks and conditional branches, so long as data dependencies (and trap ordering, if any) are upheld.It does not mention if the instruction can move across a call.
Last updated: Apr 13 2026 at 00:25 UTC