1 ; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
4 define void @t1(ptr nocapture %a, ptr nocapture %b) nounwind {
8 ; CHECK: ldr [[X0:x[0-9]+]], [x1]
9 ; CHECK: str [[X0]], [x0]
10 %tmp3 = load i64, ptr %b, align 1
11 store i64 %tmp3, ptr %a, align 1
15 define void @t2(ptr nocapture %a, ptr nocapture %b) nounwind {
19 ; CHECK: ldr [[W0:w[0-9]+]], [x1]
20 ; CHECK: str [[W0]], [x0]
21 %tmp3 = load i32, ptr %b, align 1
22 store i32 %tmp3, ptr %a, align 1
26 define void @t3(ptr nocapture %a, ptr nocapture %b) nounwind {
30 ; CHECK: ldrh [[W0:w[0-9]+]], [x1]
31 ; CHECK: strh [[W0]], [x0]
32 %tmp3 = load i16, ptr %b, align 1
33 store i16 %tmp3, ptr %a, align 1