[llvm] [AArch64] Improve fixed vector lowering for cttz/ctlz when sve (PR #192427)

Yashwant Singh via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 23:19:09 PDT 2026


================
@@ -0,0 +1,323 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc < %s -mtriple=aarch64-linux-gnu -mattr=+neon | FileCheck %s --check-prefix=NEON
+; RUN: llc < %s -mtriple=aarch64-linux-gnu -mattr=+sve  | FileCheck %s --check-prefix=SVE
+
----------------
yashssh wrote:

Removing `vscale_range(2,0)` does not change any of the CHECK lines in these functions. I suppose instead of creating new test file I can add `sve` run line in `llvm/test/CodeGen/AArch64/ctlz.ll` and `llvm/test/CodeGen/AArch64/cttz.ll`?

https://github.com/llvm/llvm-project/pull/192427


More information about the llvm-commits mailing list