[llvm] [AArch64] Add ComputeNumSignBits for VASHR. (PR #113957)

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 12:30:25 PDT 2024


================
@@ -3560,4 +3560,16 @@ entry:
   ret <4 x i16> %vrshrn_n1
 }
 
+define <8 x i16> @signbits_vashr(<8 x i16> %a)  {
+; CHECK-LABEL: signbits_vashr:
+; CHECK:       // %bb.0:
+; CHECK-NEXT:    sshr.8h v0, v0, #8
+; CHECK-NEXT:    sshr.8h v0, v0, #9
----------------
sjoerdmeijer wrote:

Ah, of course, that's it, cheers.

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


More information about the llvm-commits mailing list