[PATCH] D77423: [WebAssembly] Fix wasm.lsda() optimization in WasmEHPrepare
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 3 14:06:04 PDT 2020
aheejin updated this revision to Diff 254908.
aheejin added a comment.
- Change the static variable `init` to a class member variable `IsEHFunctionsSetup` (Not sure whether I should `AreEHFunctionsSetup` instead, but I think usually variable names start with `Is`..? Let me know if this sounds weird.)
- Move class member variable `ExecutedLSDA` to an auto variable in `prepareEHPads`. This variable is used only within that function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77423/new/
https://reviews.llvm.org/D77423
Files:
llvm/lib/CodeGen/WasmEHPrepare.cpp
llvm/test/CodeGen/WebAssembly/wasmehprepare.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77423.254908.patch
Type: text/x-patch
Size: 19321 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200403/8cd7d6a7/attachment.bin>
More information about the llvm-commits
mailing list