[PATCH] D142615: [WebAssembly] Fix tail call with return_call_indirect instruction

YAMAMOTO Takashi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 08:50:06 PST 2023


yamt added a comment.

In D142615#4090846 <https://reviews.llvm.org/D142615#4090846>, @yamt wrote:

> In D142615#4090795 <https://reviews.llvm.org/D142615#4090795>, @asb wrote:
>
>> Are you able to provide a test case that demonstrates the codegen change?
>
> this function is broken without this change: https://github.com/yamt/garbage/blob/51ec5aaea4e30c9eece7665dea78cb71364076e2/wasm/tail-call/b.c#L12

sorry, i linked to a wrong function.
actually this function: https://github.com/yamt/garbage/blob/51ec5aaea4e30c9eece7665dea78cb71364076e2/wasm/tail-call/a.c#L7


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142615/new/

https://reviews.llvm.org/D142615



More information about the llvm-commits mailing list