llvm-project/llvm/test/tools/UpdateTestChecks
Johannes Doerfert 97ce7fd89f [UpdateTestChecks] Match unnamed values like "@[0-9]+" and "![0-9]+"
With this patch we will match most *uses* of "temporary" named things in
the IR via regular expressions, not their name at creation time. The new
"values" we match are:
  - "unnamed" globals: `@[0-9]+`
  - debug metadata: `!dbg ![0-9]+`
  - loop metadata: `!loop ![0-9]+`
  - tbaa metadata: `!tbaa ![0-9]+`
  - range metadata: `!range ![0-9]+`
  - generic metadata: `metadata ![0-9]+`
  - attributes groups: `#[0-9]`

We still don't match the declarations but that can be done later. This
patch can introduce churn when existing check lines contain the old
hardcoded versions of the above "values". We can add a flag to opt-out,
or opt-in, if necessary.

Reviewed By: arichardson, MaskRay

Differential Revision: https://reviews.llvm.org/D85099
2020-08-12 01:04:16 -05:00
..
update_llc_test_checks Add missing REQUIRES: x86-registered-target 2020-07-08 11:39:29 +01:00
update_test_checks [UpdateTestChecks] Match unnamed values like "@[0-9]+" and "![0-9]+" 2020-08-12 01:04:16 -05:00
lit.local.cfg Move update_cc_test_checks.py tests to clang 2020-02-14 14:39:55 +00:00