[asan][test] Re-generate asan-check-memaccess-add.ll with update_llc_test_checks.py
authorFangrui Song <i@maskray.me>
Thu, 3 Feb 2022 07:40:10 +0000 (23:40 -0800)
committerFangrui Song <i@maskray.me>
Thu, 3 Feb 2022 07:40:10 +0000 (23:40 -0800)
commitf3a66ec0bdeeae37c5ec4e5ac04a72bc27711f61
tree0413e45cf5a31e8551256067b083a18a4a426340
parent959678425d5b6ea6894bfdbdcd723b775d27116c
[asan][test] Re-generate asan-check-memaccess-add.ll with update_llc_test_checks.py

* LABEL is important to give a better diagnostic in case a check pattern fails
* Some NOT negative patterns are not effective. NEXT is useful to ensure
  a code sequence has the desired instructions and report a better
  diagnostic if something goes off.
* Since the ABI says the first parameter is in RDI. Replacing the
  pattern `[[REG16:.*]]` with `RDI` should not cause maintenance burden.

Since the test is pretty mechanical, just use update_llc_test_checks.py
to re-generate it. Most functions can use `nounwind` to avoid CFI
directives.

Reviewed By: kstoimenov, vitalybuka

Differential Revision: https://reviews.llvm.org/D118864
llvm/test/CodeGen/X86/asan-check-memaccess-add.ll