[all-commits] [llvm/llvm-project] f34ed9: [AArch64] ConditionOptimizer: widen intra-block pa...

Hussam Alhassan via All-commits all-commits at lists.llvm.org
Thu May 7 11:39:24 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f34ed924c0f81774f1ad4af8c41fb951360e029e
      https://github.com/llvm/llvm-project/commit/f34ed924c0f81774f1ad4af8c41fb951360e029e
  Author: Hussam Alhassan <hsm.link at proton.me>
  Date:   2026-05-07 (Thu, 07 May 2026)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ConditionOptimizer.cpp
    A llvm/test/CodeGen/AArch64/aarch64-condopt-select-instrs.mir

  Log Message:
  -----------
  [AArch64] ConditionOptimizer: widen intra-block path to all select instructions (#195266)

The intra-block path previously gated on isCSINCInstruction, restricting
optimization to CSINC. Replace the gate with
findCondCodeUseOperandIdxForBranchOrSelect(), which covers the full
select family: CSEL, CSINC, CSINV, CSNEG, and FCSEL.



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