[PATCH] D116832: [UpdateLLCTestChecks] Allow replacing register names with variables

David Greene via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 31 13:27:10 PST 2022


greened updated this revision to Diff 404699.
greened edited the summary of this revision.
greened added a comment.

Updated to change to a --scrub-reg option with a value of "names" or "deps."  --scrub-reg=names will create FileCheck variables as before while --scrub-reg=deps will replace with non-capturing regular expressions.

The latter makes tests more robust in the face of irrelevant register assignment changes, at the cost of losing the ability to flag changes in the register dependence graph.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116832/new/

https://reviews.llvm.org/D116832

Files:
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai-reg-names.ll
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai-reg-names.ll.noscrub.expected
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai-reg-names.ll.scrub-deps.expected
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai-reg-names.ll.scrub-names.expected
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86-reg-names.ll
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86-reg-names.ll.noscrub.expected
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86-reg-names.ll.scrub-deps.expected
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86-reg-names.ll.scrub-names.expected
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/lanai-reg-names.test
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-reg-names.test
  llvm/utils/UpdateTestChecks/asm.py
  llvm/utils/update_llc_test_checks.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116832.404699.patch
Type: text/x-patch
Size: 55746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220131/d4d4a612/attachment.bin>


More information about the llvm-commits mailing list