[PATCH] D94347: [WebAssembly] locals can now be indirect in DWARF
Philip Pfaffe via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 15 12:13:16 PST 2021
pfaffe added a comment.
`OP_deref` would work if the structs are small enough. Leaving out `OP_stack_value` should just work. It's a terminator of sorts for values that aren't in memory, like registers on native or locals or globals in wasm land. Think of it as `*a`. Appending `OP_deref` would correspond to `&*a`, so that top stack is an address afterwards instead of the value.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94347/new/
https://reviews.llvm.org/D94347
More information about the llvm-commits
mailing list