Wasm doesn't have a direct way to lower indirectbr, so hook up the
IndirectBrExpandPass to lower indirectbr into a switch.
Fixes PR42498
Paths
| Differential D64161
[WebAssembly] Enable IndirectBrExpandPass ClosedPublic Authored by dschuff on Jul 3 2019, 2:27 PM.
Details Summary Wasm doesn't have a direct way to lower indirectbr, so hook up the Fixes PR42498
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 3 2019, 3:28 PM Closed by commit rL365096: [WebAssembly] Enable IndirectBrExpandPass (authored by dschuff). · Explain WhyJul 3 2019, 4:55 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 207926 llvm/trunk/lib/Target/WebAssembly/WebAssemblySubtarget.h
llvm/trunk/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
llvm/trunk/lib/Target/WebAssembly/known_gcc_test_failures.txt
llvm/trunk/test/CodeGen/WebAssembly/indirectbr.ll
|