OSDN Git Service

[WebAssembly] Change label numbers to variables in test
authorHeejin Ahn <aheejin@gmail.com>
Thu, 24 Dec 2020 11:07:24 +0000 (03:07 -0800)
committerHeejin Ahn <aheejin@gmail.com>
Fri, 8 Jan 2021 13:49:59 +0000 (05:49 -0800)
commitd012430eee7d41c9c0e2159bb0fd1c68f50fa065
tree81c820cce6c5dfa7e6206414951fd29dcae2cbed
parent0ef2b68ff063164a83a37a2a363196d51b76ed8d
[WebAssembly] Change label numbers to variables in test

cfg-stackify-eh.ll contains many `CHECK` lines specifying label / catch
comments with numbers. These numbers are subject to change every time
any block/loop/try is added in the middle in existing functions or any
other function is added in the middle of the file, generating a large
number of lines in diffs. This change converts them to variables so they
can be more resistent to future changes.

Reviewed By: dschuff, tlively

Differential Revision: https://reviews.llvm.org/D94037
llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll