[llvm] [AArch64][CostModel] Model sve costs for ctpop (PR #192428)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 17 00:56:32 PDT 2026
================
@@ -0,0 +1,97 @@
+; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py
----------------
davemgreen wrote:
Can we move this file to, say, sve-ctpop.ll?
The tests that look like sve-minmax.ll are better as they contain more dense output which is much easier to check and manage. (You might just need to use poison nowadays, not undef).
That should work well for testing the scalable costs you are changing I think. For the fixed-width costs you could add a new run line to the existing ctpop.ll test.
https://github.com/llvm/llvm-project/pull/192428
More information about the llvm-commits
mailing list