Currently calling stack locations is selected using CALL in ISel,
resulting in an invalid code and crashing in AsmPrinter. FastISel
correctly selects it will CALL_INDIRECT.
Fixes the problem reported in D146781.
Paths
| Differential D147033
[WebAssembly] Select call_indirect for alloca calls ClosedPublic Authored by aheejin on Mar 28 2023, 1:08 AM.
Details Summary Currently calling stack locations is selected using CALL in ISel, Fixes the problem reported in D146781.
Diff Detail
Unit TestsFailed
Event TimelineThis revision is now accepted and ready to land.Mar 28 2023, 7:25 AM Comment Actions
I took a look at this, and this seems to be a different problem, which can be fixed separately. This revision was landed with ongoing or failed builds.Mar 29 2023, 12:47 PM Closed by commit rGd91c9aef9b37: [WebAssembly] Select call_indirect for alloca calls (authored by aheejin). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions
The attempted fix for this is in D147397.
Revision Contents
Diff 508924 llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
llvm/test/CodeGen/WebAssembly/call-indirect.ll
|