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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks good! A few of the replacements in the code don't match the replacements in the comments, but I assume the comments were previously just stale.
llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll | ||
---|---|---|
440 | This should have been label35 rather than label4 previously, right? | |
581 | And catch19 should have been catch23? |
This should have been label35 rather than label4 previously, right?