[llvm] [AArch64] Improve index selection for histograms (PR #111150)
James Chesterman via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 8 05:46:50 PDT 2024
================
@@ -267,5 +267,79 @@ define void @histogram_i16_8_lane(ptr %base, <vscale x 8 x i32> %indices, i16 %i
ret void
}
+define void @histogram_i32_zextend(ptr %base, <vscale x 4 x i32> %indices, <vscale x 4 x i1> %mask) #0 {
----------------
JamesChesterman wrote:
I didn't add any more tests because the other tests only use i32 and i64 for the index types. They only vary the type returned by the getelementptr instruction. Do you think I should:
-Try adding more tests using i32 indices but varying the pointer types
-Try adding more index types like i8 and i16 that will be extended, then add more tests to the original set with i8 and i16 index types but have them not be extended?
https://github.com/llvm/llvm-project/pull/111150
More information about the llvm-commits
mailing list