HomePhabricator

[test] Fix mix of variable use/def and regex match

Authored by thopre on Mar 18 2021, 3:57 AM.

Description

[test] Fix mix of variable use/def and regex match

LLVM test Transforms/GlobalSplit/basic.ll mixes variable definition and
variable use with regex matching of end of line. Mixing end of line
matching with variable definition will work but not record the end of
line in the string variable. Mixing end of line with variable use will
ignore end of line and cause an error once D98691 is landed.

This commit moves the end of line matching out of the string subtitution
blocks.

Reviewed By: tejohnson

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

Details

Committed
thopreMar 24 2021, 10:58 AM
Reviewer
tejohnson
Differential Revision
D98854: [test] Fix mix of variable use/def and regex match
Parents
rG4f2830313353: AMDGPU/LLD: Add target id and code object v4 support to linker
Branches
Unknown
Tags
Unknown