[UpdateTestChecks] Default --x86_scrub_rip to False
authorFangrui Song <i@maskray.me>
Sat, 22 May 2021 02:26:15 +0000 (19:26 -0700)
committerFangrui Song <i@maskray.me>
Sat, 22 May 2021 02:26:15 +0000 (19:26 -0700)
commit5d9ea36baffe682649923d29161cc58ca3d1a243
treee9a61d7a1671fe9c25bdbe0a70efd362b33550a7
parente162dc6f281e817e6dd000be71bfaf6bad358d79
[UpdateTestChecks] Default --x86_scrub_rip to False

True is a bad default: the useful symbol names and `@GOTPCREL` are scrubbed.

Change the default and add global variable tests to x86-basic.ll
(renamed from x86_function_name.ll since we now also test variables).
I updated some tests to show the differences.

Updated LCPI regex to include Darwin style `LCPI_[0-9]+_[0-9]+` (no
leading dot).

Reviewed By: pengfei

Differential Revision: https://reviews.llvm.org/D102588
16 files changed:
llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll
llvm/test/CodeGen/X86/WidenArith.ll
llvm/test/CodeGen/X86/abi-isel.ll
llvm/test/CodeGen/X86/xor.ll
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86-basic.ll [moved from llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_function_name.ll with 74% similarity]
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86-basic.ll.expected [moved from llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_function_name.ll.expected with 71% similarity]
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86-constant-pool.ll [new file with mode: 0644]
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86-constant-pool.ll.expected [new file with mode: 0644]
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll.generated.expected
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/x86_generated_funcs.ll.nogenerated.expected
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/basic.test
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-basic.test [new file with mode: 0644]
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-constant-pool.test [new file with mode: 0644]
llvm/test/tools/UpdateTestChecks/update_llc_test_checks/x86-function-name.test [deleted file]
llvm/utils/UpdateTestChecks/asm.py
llvm/utils/update_llc_test_checks.py