[all-commits] [llvm/llvm-project] 9ddb21: [asan] Remove unnecessary spill in optimized callb...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Aug 23 17:00:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ddb2157e3c04a601d7d9764f99f4df3c2fa80c2
      https://github.com/llvm/llvm-project/commit/9ddb2157e3c04a601d7d9764f99f4df3c2fa80c2
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

  Changed paths:
    M compiler-rt/lib/asan/asan_rtl_x86_64.S

  Log Message:
  -----------
  [asan] Remove unnecessary spill in optimized callbacks

We can use r11 scratch registers for calculations.

It does not result in any performance improvements, as the spill is on
the slow path of partial granules.

See X86AsmPrinter::LowerASAN_CHECK_MEMACCESS for callers.

Reviewed By: kstoimenov

Differential Revision: https://reviews.llvm.org/D158525




More information about the All-commits mailing list