1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=arm %s -o - | FileCheck --check-prefix=arm %s
3 ; RUN: llc -mtriple=armeb %s -o - | FileCheck --check-prefix=armeb %s
5 define i1 @pr59317(i16 %F) {
8 ; arm-NEXT: sub sp, sp, #8
10 ; arm-NEXT: add sp, sp, #8
11 ; arm-NEXT: mov pc, lr
13 ; armeb-LABEL: pr59317:
14 ; armeb: @ %bb.0: @ %BB
15 ; armeb-NEXT: sub sp, sp, #8
16 ; armeb-NEXT: mov r0, #0
17 ; armeb-NEXT: add sp, sp, #8
18 ; armeb-NEXT: mov pc, lr
20 %E = extractelement <1 x i16> <i16 -1>, i16 %F
21 %RP = alloca i64, align 8
23 %C1 = icmp ugt i16 %B, %F