[llvm] [AArch64][CostModel] Reduce cost of wider than legal get.active.lane.mask (PR #163786)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 21 03:34:23 PDT 2025


================
@@ -990,6 +1019,7 @@ define void @get_lane_mask() #0 {
   %mask_nxv4i1_i32 = call <vscale x 4 x i1> @llvm.get.active.lane.mask.nxv4i1.i32(i32 poison, i32 poison)
   %mask_nxv2i1_i32 = call <vscale x 2 x i1> @llvm.get.active.lane.mask.nxv2i1.i32(i32 poison, i32 poison)
 
+  %mask_nxv64i1_i64 = call <vscale x 64 x i1> @llvm.get.active.lane.mask.nxv64i1.i64(i64 poison, i64 poison)
----------------
david-arm wrote:

Just for information only, I think we no longer need to declare the intrinsics in test files.

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


More information about the llvm-commits mailing list