Skip to content

Commit 4e1af14

Browse files
Fold trunc(avg(x,y)) for avgceil/floor u/s nodes if they have sufficient leading zero/sign bits-10
1 parent 32041fb commit 4e1af14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/CodeGen/AArch64/trunc-avg-fold.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ define <8 x i8> @test_avgceil_s(<8 x i8> %a, <8 x i8> %b) {
2727
}
2828

2929
define <8 x i8> @avgfloor_u_i8_to_i16(<8 x i8> %a, <8 x i8> %b) {
30-
; CHECK-LABEL: avgfloor_u_from_intrin:
30+
; CHECK-LABEL: avgfloor_u_i8_to_i16:
3131
; CHECK: // %bb.0:
3232
; CHECK-NEXT: uhadd v0.8b, v0.8b, v1.8b
3333
; CHECK-NEXT: ret

0 commit comments

Comments
 (0)