[llvm] [AArch64][SVE] Enable known bits for predicated shifts (PR #200347)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 5 01:57:30 PDT 2026


================
@@ -335,6 +335,110 @@ define <vscale x 2 x i64> @ssra_disjoint_or2xi64(<vscale x 2 x i64> %a, <vscale
   ret <vscale x 2 x i64> %add
 }
 
+define <vscale x 16 x i8> @usra_disjoint_shift_or16xi8(<vscale x 16 x i8> %a, <vscale x 16 x i8> %b) #0 {
----------------
david-arm wrote:

If you proceed with computing known bits for the SHL_PRED nodes, etc then I think that it would be good to add some equivalent ACLE tests. Also, it would be good to add some fixed-length tests - see CodeGen/AArch64/sve-fixed-length-int-shifts.ll as an example. You might need a new test, something like CodeGen/AArch64/sve2-fixed-length-int-shifts.ll

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


More information about the llvm-commits mailing list