This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by thopre on Mar 18 2021, 4:00 AM.

Details

Summary

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.

Diff Detail

Event Timeline

thopre requested review of this revision.Mar 18 2021, 4:00 AM
thopre created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2021, 4:01 AM
This revision is now accepted and ready to land.Mar 18 2021, 7:43 AM
This revision was automatically updated to reflect the committed changes.