1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=arm64_32-apple-watchos2.0.0 --aarch64-neon-syntax=generic | FileCheck %s
4 target datalayout = "e-m:o-p:32:32-i64:64-i128:128-n32:64-S128"
5 target triple = "arm64_32-apple-watchos2.0.0"
7 ; CHECK-LABEL: lCPI0_0:
9 ; CHECK-NEXT: .quad 4804
11 define <2 x ptr> @vector_gep(<2 x ptr> %0) {
12 ; CHECK-LABEL: vector_gep:
13 ; CHECK: ; %bb.0: ; %entry
15 ; CHECK-NEXT: adrp x8, lCPI0_0@PAGE
16 ; CHECK-NEXT: movi v2.2d, #0x000000ffffffff
18 ; CHECK-NEXT: ldr q1, [x8, lCPI0_0@PAGEOFF]
19 ; CHECK-NEXT: add v0.2d, v0.2d, v1.2d
20 ; CHECK-NEXT: and v0.16b, v0.16b, v2.16b
22 ; CHECK-NEXT: .loh AdrpLdr Lloh0, Lloh1
24 %1 = getelementptr i8, <2 x ptr> %0, <2 x i32> <i32 36, i32 4804>