llvm/llvm-project

[ARM][AArch64] Remove CLS special handling and use generic ISD::CTLS node

Open

#174337 opened on Jan 4, 2026

View on GitHub
 (13 comments) (0 reactions) (1 assignee)C++ (26,378 stars) (10,782 forks)batch import
backend:AArch64backend:ARMgood first issue

Description

Once #173417 has landed, the arm/aarch64 intrinsics (int_arm_mve_vcls/int_arm_neon_vcls/int_aarch64_cls/int_aarch64_cls64 etc.) can be expanded to ISD::CTLS in DAG/GISel and the remaining patterns/setOperationAction calls converted to use ISD::CTLS

Contributor guide