[all-commits] [llvm/llvm-project] 2b1d45: [NFC] Add --check-globals to an autogen test cmdline

Jeremy Morse via All-commits all-commits at lists.llvm.org
Wed Dec 21 08:49:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b1d45b227bdbb1f59934905a5204d16ea0d378b
      https://github.com/llvm/llvm-project/commit/2b1d45b227bdbb1f59934905a5204d16ea0d378b
  Author: Jeremy Morse <jeremy.morse at sony.com>
  Date:   2022-12-21 (Wed, 21 Dec 2022)

  Changed paths:
    M llvm/test/Transforms/SROA/dbg-inline.ll

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list