[llvm] [LV][AArch64][NFC]: Change TC in a test case. (PR #157512)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 9 02:27:31 PDT 2025


david-arm wrote:

> do we have other tests covering the same case with constant trip counts or should we keep the original test and add a new one with variable trip count?

Yeah I think it probably does make sense to keep the old test and create a new variant of the same test with a variable trip count. With the old test we know that a trip count of 1024 is guaranteed to be a multiple of any VF we choose because vscale is a power of 2 and has a maximum value of 16.

@hassnaaHamdi Can you add a `vscale_range(1,16)` attribute to the functions as well?

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


More information about the llvm-commits mailing list