[Passes] Use regex to match GlobalsAA line in test.
authorFlorian Hahn <flo@fhahn.com>
Thu, 13 May 2021 12:22:18 +0000 (13:22 +0100)
committerFlorian Hahn <flo@fhahn.com>
Thu, 13 May 2021 12:22:18 +0000 (13:22 +0100)
commitffc157ea825f75c7b143fdaf23283194c5d829cf
tree352a2bf078cdd58ceddcc800107e2ea4515692c9
parent860b37526ae188d02e2dbf68a006eb26f936b5eb
[Passes] Use regex to match GlobalsAA line in test.

On some platforms/compiler combinations, it appears the output is
slightly different. Update the test to use a regex, as is done at other
places in the new-pm-*default.ll tests to address buildbot failures.
llvm/test/Other/new-pm-lto-defaults.ll