Currently exception.mir runs LateEHPrepare and CFGStackify, but some
tests I'm planning to add shouldn't be run with LateEHPrepare, because
it is convenient to only run CFGStackify when testing things like unwind
mismatches and it is easier to add tests that are in phase right before
CFGStackify. This splits existing exception.mir into two files;
cfg-stackify-eh.mir will only run CFGStackify. Note that
eh_label_tests tests both LateEHPrepare and CFGStackify, so it is
still in exception.mir. rethrow_arg_tests has been converted to the
post-LateEHPrepare form to be moved into cfg-stackify-eh.mir, like
removing CATCHRET and such, because it does not really test anything
in LateEHPrepare.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.mir | ||
---|---|---|
31 | would it make sense for this to be a CHECK-LABEL (or for it to be bb.1: including the colon) to make the match more precise? |
Comment Actions
Add missing (landing-pad)
llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.mir | ||
---|---|---|
31 | Good idea. Added a colon to all BB CHECK lines. |
would it make sense for this to be a CHECK-LABEL (or for it to be bb.1: including the colon) to make the match more precise?