[all-commits] [llvm/llvm-project] ca7700: [ARM] Replace manual CLS expansion with ISD::CTLS ...

Hamza Hassanain via All-commits all-commits at lists.llvm.org
Thu Feb 19 07:49:48 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca77001a1a0de38ac21bd9ed8d3468a528cf000f
      https://github.com/llvm/llvm-project/commit/ca77001a1a0de38ac21bd9ed8d3468a528cf000f
  Author: Hamza Hassanain <53662962+HamzaHassanain at users.noreply.github.com>
  Date:   2026-02-19 (Thu, 19 Feb 2026)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMInstrMVE.td
    M llvm/lib/Target/ARM/ARMInstrNEON.td
    M llvm/test/CodeGen/ARM/cls.ll

  Log Message:
  -----------
  [ARM] Replace manual CLS expansion with ISD::CTLS (#178430)

Converts ARM scalar CLS intrinsics to use the unified ISD::CTLS node
instead of custom manual expansion. This addresses the issue
[#174337](https://github.com/llvm/llvm-project/issues/174337).

Co-authored-by: Craig Topper <craig.topper at sifive.com>



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