[all-commits] [llvm/llvm-project] f3a66e: [asan][test] Re-generate asan-check-memaccess-add....
Fangrui Song via All-commits
all-commits at lists.llvm.org
Wed Feb 2 23:40:24 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f3a66ec0bdeeae37c5ec4e5ac04a72bc27711f61
https://github.com/llvm/llvm-project/commit/f3a66ec0bdeeae37c5ec4e5ac04a72bc27711f61
Author: Fangrui Song <i at maskray.me>
Date: 2022-02-02 (Wed, 02 Feb 2022)
Changed paths:
M llvm/test/CodeGen/X86/asan-check-memaccess-add.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list