[NFC] Add --check-globals to an autogen test cmdline
authorJeremy Morse <jeremy.morse@sony.com>
Wed, 21 Dec 2022 16:42:34 +0000 (16:42 +0000)
committerJeremy Morse <jeremy.morse@sony.com>
Wed, 21 Dec 2022 16:49:05 +0000 (16:49 +0000)
commit2b1d45b227bdbb1f59934905a5204d16ea0d378b
tree0d95c5a164e23b93d372733fe1084fec909bd346
parent088b5d1ad3a31ba46c369d1a6133b36d1727a0d8
[NFC] Add --check-globals to an autogen test cmdline

In c6d7e80ec4c17 this test was converted from hand written to autogenerated,
during which the relevant metadata CHECKs were dropped. In D85172 the intention
of the CHECK lines is to ensure that for two dbg.declares with different
inlining scopes, attached to the same alloca, two sets of dbg.values will be
generated with the same set of inlining scopes. Without metadata checks, a
single DILocation can match the !dbg CHECKs.
llvm/test/Transforms/SROA/dbg-inline.ll