[all-commits] [llvm/llvm-project] 4b4fbf: [NFC][AArch64] ConditionOptimizer: add CmpCondPair...

Hussam Alhassan via All-commits all-commits at lists.llvm.org
Wed Mar 25 04:28:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b4fbf176dee88820dec55b6e39e2feabb49ac52
      https://github.com/llvm/llvm-project/commit/4b4fbf176dee88820dec55b6e39e2feabb49ac52
  Author: Hussam Alhassan <hsm.link at proton.me>
  Date:   2026-03-25 (Wed, 25 Mar 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ConditionOptimizer.cpp

  Log Message:
  -----------
  [NFC][AArch64] ConditionOptimizer: add CmpCondPair and tryOptimizePair (#187160)

Add CmpCondPair to bundle a compare/conditional instruction pair with
its condition code.

Update applyCmpAdjustment() to take CmpCondPair, and extract core
optimization logic into tryOptimizePair() to be used in both intra- and
cross-block paths.



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