[llvm] bb5e358 - [VE][NFC] correct bitmasking in popcnt expansion test
Simon Moll via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 25 04:56:39 PDT 2021
Author: Simon Moll
Date: 2021-10-25T13:55:58+02:00
New Revision: bb5e35833fe722a24a31ce691e6c340ddc2fc4ae
URL: https://github.com/llvm/llvm-project/commit/bb5e35833fe722a24a31ce691e6c340ddc2fc4ae
DIFF: https://github.com/llvm/llvm-project/commit/bb5e35833fe722a24a31ce691e6c340ddc2fc4ae.diff
LOG: [VE][NFC] correct bitmasking in popcnt expansion test
Added:
Modified:
llvm/test/CodeGen/VE/Scalar/cttz.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/VE/Scalar/cttz.ll b/llvm/test/CodeGen/VE/Scalar/cttz.ll
index aa9987e8355b2..85ee1358ab626 100644
--- a/llvm/test/CodeGen/VE/Scalar/cttz.ll
+++ b/llvm/test/CodeGen/VE/Scalar/cttz.ll
@@ -64,7 +64,7 @@ define signext i16 @func16s(i16 signext %p) {
; CHECK: # %bb.0:
; CHECK-NEXT: adds.w.sx %s1, -1, %s0
; CHECK-NEXT: nnd %s0, %s0, %s1
-; CHECK-NEXT: and %s0, %s0, (32)0
+; CHECK-NEXT: and %s0, %s0, (48)0
; CHECK-NEXT: pcnt %s0, %s0
; CHECK-NEXT: b.l.t (, %s10)
%r = tail call i16 @llvm.cttz.i16(i16 %p, i1 true)
@@ -76,7 +76,7 @@ define zeroext i16 @func16z(i16 zeroext %p) {
; CHECK: # %bb.0:
; CHECK-NEXT: adds.w.sx %s1, -1, %s0
; CHECK-NEXT: nnd %s0, %s0, %s1
-; CHECK-NEXT: and %s0, %s0, (32)0
+; CHECK-NEXT: and %s0, %s0, (48)0
; CHECK-NEXT: pcnt %s0, %s0
; CHECK-NEXT: b.l.t (, %s10)
%r = tail call i16 @llvm.cttz.i16(i16 %p, i1 true)
@@ -88,7 +88,7 @@ define signext i8 @func8s(i8 signext %p) {
; CHECK: # %bb.0:
; CHECK-NEXT: adds.w.sx %s1, -1, %s0
; CHECK-NEXT: nnd %s0, %s0, %s1
-; CHECK-NEXT: and %s0, %s0, (32)0
+; CHECK-NEXT: and %s0, %s0, (56)0
; CHECK-NEXT: pcnt %s0, %s0
; CHECK-NEXT: b.l.t (, %s10)
%r = tail call i8 @llvm.cttz.i8(i8 %p, i1 true)
@@ -100,7 +100,7 @@ define zeroext i8 @func8z(i8 zeroext %p) {
; CHECK: # %bb.0:
; CHECK-NEXT: adds.w.sx %s1, -1, %s0
; CHECK-NEXT: nnd %s0, %s0, %s1
-; CHECK-NEXT: and %s0, %s0, (32)0
+; CHECK-NEXT: and %s0, %s0, (56)0
; CHECK-NEXT: pcnt %s0, %s0
; CHECK-NEXT: b.l.t (, %s10)
%r = tail call i8 @llvm.cttz.i8(i8 %p, i1 true)
More information about the llvm-commits
mailing list