1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=aarch64-linux-gnu %s -o - | FileCheck %s
4 define void @test_mismatched_setcc(<4 x i22> %l, <4 x i22> %r, ptr %addr) {
5 ; CHECK-LABEL: test_mismatched_setcc:
7 ; CHECK-NEXT: movi v2.4s, #63, msl #16
8 ; CHECK-NEXT: adrp x8, .LCPI0_0
9 ; CHECK-NEXT: and v1.16b, v1.16b, v2.16b
10 ; CHECK-NEXT: and v0.16b, v0.16b, v2.16b
11 ; CHECK-NEXT: cmeq v0.4s, v0.4s, v1.4s
12 ; CHECK-NEXT: ldr q1, [x8, :lo12:.LCPI0_0]
13 ; CHECK-NEXT: and v0.16b, v0.16b, v1.16b
14 ; CHECK-NEXT: addv s0, v0.4s
15 ; CHECK-NEXT: fmov w8, s0
16 ; CHECK-NEXT: strb w8, [x0]
19 %tst = icmp eq <4 x i22> %l, %r
20 store <4 x i1> %tst, ptr %addr