[PATCH] D94044: [WebAssembly] Remove unreachable EH pads
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 9 03:43:22 PST 2021
aheejin added inline comments.
================
Comment at: llvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp:98
SmallVector<MachineBasicBlock *, 8> WL(MBBs.begin(), MBBs.end());
+ SmallSet<MachineBasicBlock *, 8> Deleted;
while (!WL.empty()) {
----------------
dschuff wrote:
> This could be `SmallPtrSet`, I guess it's smaller?
Done. Also changed one more usage of `SmallSet` in this pass to `SmallPtrSet`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94044/new/
https://reviews.llvm.org/D94044
More information about the llvm-commits
mailing list