Skip to content

Commit b5a9f2c

Browse files
committed
[Xtensa] Fix shift tests.
1 parent 45b8d86 commit b5a9f2c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/test/CodeGen/Xtensa/shift.ll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ define i32 @lshr(i32 %x, i32 %y) nounwind {
4444
ret i32 %c
4545
}
4646

47-
define i32 @lshr_imm_1(i32 %x, i32 %y) nounwind {
47+
define i32 @lshr_imm_1(i32 %x) nounwind {
4848
; CHECK-LABEL: lshr_imm_1:
4949
; CHECK: srli a2, a2, 1
5050
; CHECK-NEXT: ret
5151
%c = lshr i32 %x, 1
5252
ret i32 %c
5353
}
5454

55-
define i32 @lshr_imm_15(i32 %x, i32 %y) nounwind {
55+
define i32 @lshr_imm_15(i32 %x) nounwind {
5656
; CHECK-LABEL: lshr_imm_15:
5757
; CHECK: srli a2, a2, 15
5858
; CHECK-NEXT: ret
@@ -69,23 +69,23 @@ define i32 @ashr(i32 %x, i32 %y) nounwind {
6969
ret i32 %c
7070
}
7171

72-
define i32 @ashr_imm_1(i32 %x, i32 %y) nounwind {
72+
define i32 @ashr_imm_1(i32 %x) nounwind {
7373
; CHECK-LABEL: ashr_imm_1:
7474
; CHECK: srai a2, a2, 1
7575
; CHECK-NEXT: ret
7676
%c = ashr i32 %x, 1
7777
ret i32 %c
7878
}
7979

80-
define i32 @ashr_imm_10(i32 %x, i32 %y) nounwind {
80+
define i32 @ashr_imm_10(i32 %x) nounwind {
8181
; CHECK-LABEL: ashr_imm_10:
8282
; CHECK: srai a2, a2, 10
8383
; CHECK-NEXT: ret
8484
%c = ashr i32 %x, 10
8585
ret i32 %c
8686
}
8787

88-
define i32 @ashr_imm_31(i32 %x, i32 %y) nounwind {
88+
define i32 @ashr_imm_31(i32 %x) nounwind {
8989
; CHECK-LABEL: ashr_imm_31:
9090
; CHECK: srai a2, a2, 31
9191
; CHECK-NEXT: ret

0 commit comments

Comments
 (0)