[all-commits] [llvm/llvm-project] 675b01: [BOLT][AArch64][instr] Remove instructions on savi...

YongKang Zhu via All-commits all-commits at lists.llvm.org
Wed Sep 10 10:16:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 675b01a4a3302211c070c6a95af5da23b950532b
      https://github.com/llvm/llvm-project/commit/675b01a4a3302211c070c6a95af5da23b950532b
  Author: YongKang Zhu <yongzhu at fb.com>
  Date:   2025-09-10 (Wed, 10 Sep 2025)

  Changed paths:
    M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT][AArch64][instr] Remove instructions on saving and restoring NZCV (#156994)

Remove the `NZCV` save and restore instructions from instrumentation
sequence because the instructions used for getting counter address,
counter increment and stack push/pop won't impact `NZCV`. And with
this, we can use `X1` to do counter increment and remove the two
instructions that saves and later restores `X2`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list