[all-commits] [llvm/llvm-project] ba46a7: [ConstantTime] Use ARITH_FENCE as the combine barr...

Akshay K via All-commits all-commits at lists.llvm.org
Thu Sep 10 09:44:59 PDT 2026


  Branch: refs/heads/users/wizardengineer/ct-select-core
  Home:   https://github.com/llvm/llvm-project
  Commit: ba46a710f89f0d59100d8a077cc8704d9b9f8ef9
      https://github.com/llvm/llvm-project/commit/ba46a710f89f0d59100d8a077cc8704d9b9f8ef9
  Author: AkshayK <iit.akshay at gmail.com>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/test/CodeGen/RISCV/ctselect-fallback-gisel.ll
    M llvm/test/CodeGen/RISCV/ctselect-fallback-scalable.ll
    M llvm/test/CodeGen/RISCV/ctselect-fallback.ll
    M llvm/test/CodeGen/X86/ctselect.ll

  Log Message:
  -----------
  [ConstantTime] Use ARITH_FENCE as the combine barrier in CT_SELECT expansion

Replace the CopyToReg/CopyFromReg vreg barrier in ExpandCTSELECT with
ISD::ARITH_FENCE. The legalizer no longer creates vregs or picks register
classes via getRegClassFor, and scalable vectors are now covered too.
Codegen tests regenerated; output stays branchless.



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