update_any_test_checks.py: run from any dir
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 9 Jan 2023 23:34:21 +0000 (15:34 -0800)
committerNick Desaulniers <ndesaulniers@google.com>
Mon, 9 Jan 2023 23:36:15 +0000 (15:36 -0800)
commitc20954dbab8ba32831d691293160d0ed6d19f671
treeeec94a9616a19e02bf8cfdf48fd6a3a6d560886d
parentc8ed36281a929c34477ffc391a8a3e84d1a07a92
update_any_test_checks.py: run from any dir

Allow running llvm/utils/update_any_test_checks.py from working
directories other llvm/utils/.

Fixes:
$ ./llvm/utils/update_any_test_checks.py path/to/foo.ll
utils/update_llc_test_checks.py: not found (used in path/to/foo.ll)

Reviewed By: arichardson

Differential Revision: https://reviews.llvm.org/D140586
llvm/utils/update_any_test_checks.py