This caused out-of-bound bugs. Found by
-DLLVM_ENABLE_EXPENSIVE_CHECKS=ON.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp | ||
---|---|---|
94 ↗ | (On Diff #168349) | Could you just copy the Predecessors in the constructor, the way you do with WL? |
Comment Actions
Otherwise LGTM, and I verified that it fixes the expensive checks failure.
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp | ||
---|---|---|
94 ↗ | (On Diff #168349) | e.g. Preds(MBB->pred_begin(), MBB->pred_end()) |