[all-commits] [llvm/llvm-project] aae413: [UpdateTestChecks] Move more update_test_checks.py...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Wed Jul 8 03:18:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aae413462fae16c481df31ff23b951c5df494a60
      https://github.com/llvm/llvm-project/commit/aae413462fae16c481df31ff23b951c5df494a60
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M llvm/utils/UpdateTestChecks/common.py
    M llvm/utils/update_test_checks.py

  Log Message:
  -----------
  [UpdateTestChecks] Move more update_test_checks.py logic to common.py

I intend to reuse this to add UTC_ARGS support for update_llc_test_checks.py
and update_cc_test_checks.py in D78478.

Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D78618


  Commit: a80afc032859ebe65af283f76b38a0f5921b683f
      https://github.com/llvm/llvm-project/commit/a80afc032859ebe65af283f76b38a0f5921b683f
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M clang/test/utils/update_cc_test_checks/Inputs/mangled_names.c.funcsig.expected
    A clang/test/utils/update_cc_test_checks/Inputs/on_the_fly_arg_change.c
    A clang/test/utils/update_cc_test_checks/Inputs/on_the_fly_arg_change.c.expected
    M clang/test/utils/update_cc_test_checks/mangled_names.test
    A clang/test/utils/update_cc_test_checks/on_the_fly_arg_change.test
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/basic.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/on_the_fly_arg_change.ll
    A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/on_the_fly_arg_change.ll.expected
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/basic.test
    A llvm/test/tools/UpdateTestChecks/update_llc_test_checks/on_the_fly_arg_change.test
    M llvm/utils/update_cc_test_checks.py
    M llvm/utils/update_llc_test_checks.py

  Log Message:
  -----------
  [UpdateTestChecks] Add UTC_ARGS support for update_{llc,cc}_test_checks.py

https://reviews.llvm.org/D69701 added support for on-the-fly argument
changes for update scripts. I recently wanted to keep some manual check
lines in a test generated by update_cc_test_checks.py in our CHERI fork, so
this commit adds support for UTC_ARGS in update_cc_test_checks.py. And since
I was refactoring the code to be in common.py, I also added it for
update_llc_test_checks.py.

Reviewed By: jdoerfert, MaskRay
Differential Revision: https://reviews.llvm.org/D78478


Compare: https://github.com/llvm/llvm-project/compare/fb75451775f8...a80afc032859


More information about the All-commits mailing list