[PATCH] D60966: [WebAssembly] Emit br_table for most switch instructions
Derek Schuff via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 24 10:33:14 PDT 2019
dschuff added inline comments.
================
Comment at: llvm/trunk/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp:277
+ // defer possible jump table optimizations to the VM.
+ setMinimumJumpTableEntries(2);
}
----------------
Might be worth putting a TODO in here or somewhere to investigate using if/else instead once we have support for that?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60966/new/
https://reviews.llvm.org/D60966
More information about the llvm-commits
mailing list