Skip to content

Commit b874575

Browse files
committed
[VE][NFC] Update rem.ll regression test
`Replace ISD::SREM handling with KnownBits::srem to reduce code duplication` (bf04e34) changed the result of rem.ll regression test. So, updating it.
1 parent 6ca8569 commit b874575

File tree

1 file changed

+1
-1
lines changed
  • llvm/test/CodeGen/VE/Scalar

1 file changed

+1
-1
lines changed

llvm/test/CodeGen/VE/Scalar/rem.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ define signext i32 @remi32li(i32 signext %a, i32 signext %b) {
252252
; CHECK-NEXT: divs.w.sx %s0, 3, %s1
253253
; CHECK-NEXT: muls.w.sx %s0, %s0, %s1
254254
; CHECK-NEXT: subs.w.sx %s0, 3, %s0
255-
; CHECK-NEXT: adds.w.sx %s0, %s0, (0)1
255+
; CHECK-NEXT: adds.w.zx %s0, %s0, (0)1
256256
; CHECK-NEXT: or %s11, 0, %s9
257257
%r = srem i32 3, %b
258258
ret i32 %r

0 commit comments

Comments
 (0)