This is an archive of the discontinued LLVM Phabricator instance.

[test] Fix incorrect use of string variable use
ClosedPublic

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

Details

Summary

LLVM test CodeGen/AArch64/machine-outliner-retaddr-sign-thunk.ll uses
a string substitution block that contains a regex matching block. This
seems like as a copy/paste from other similar test where the match also
defines a variable, hence the [[]] syntax. In this case however this is
a CHECK-NOT variable so nothing should match. No variable definition is
thus expected and the square brackets can be dropped.

Diff Detail

Event Timeline

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