[all-commits] [llvm/llvm-project] 908643: [WebAssembly] Split EH MIR tests into two files

Heejin Ahn via All-commits all-commits at lists.llvm.org
Mon Feb 22 12:05:31 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 908643ada0e9cb6bce975212624052025716bf99
      https://github.com/llvm/llvm-project/commit/908643ada0e9cb6bce975212624052025716bf99
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2021-02-22 (Mon, 22 Feb 2021)

  Changed paths:
    A llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.mir
    M llvm/test/CodeGen/WebAssembly/exception.mir

  Log Message:
  -----------
  [WebAssembly] Split EH MIR tests into two files

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.

Reviewed By: dschuff

Differential Revision: https://reviews.llvm.org/D97175




More information about the All-commits mailing list