1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" 3*9880d681SAndroid Build Coastguard Workertarget triple = "aarch64-linux-gnu" 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker; Ensure we're generating ldp instructions instead of ldr Q. 6*9880d681SAndroid Build Coastguard Worker; CHECK: ldp 7*9880d681SAndroid Build Coastguard Worker; CHECK: stp 8*9880d681SAndroid Build Coastguard Workerdefine void @f(i64* %p, i64* %q) { 9*9880d681SAndroid Build Coastguard Worker %addr2 = getelementptr i64, i64* %q, i32 1 10*9880d681SAndroid Build Coastguard Worker %addr = getelementptr i64, i64* %p, i32 1 11*9880d681SAndroid Build Coastguard Worker %x = load i64, i64* %p 12*9880d681SAndroid Build Coastguard Worker %y = load i64, i64* %addr 13*9880d681SAndroid Build Coastguard Worker store i64 %x, i64* %q 14*9880d681SAndroid Build Coastguard Worker store i64 %y, i64* %addr2 15*9880d681SAndroid Build Coastguard Worker ret void 16*9880d681SAndroid Build Coastguard Worker} 17