1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=aarch64 -mattr=+no-quad-ldst-pairs -verify-machineinstrs -asm-verbose=false | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=aarch64 -mcpu=exynos-m1 -verify-machineinstrs -asm-verbose=false | FileCheck %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: test_nopair_st 5*9880d681SAndroid Build Coastguard Worker; CHECK: str 6*9880d681SAndroid Build Coastguard Worker; CHECK: stur 7*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: stp 8*9880d681SAndroid Build Coastguard Workerdefine void @test_nopair_st(double* %ptr, <2 x double> %v1, <2 x double> %v2) { 9*9880d681SAndroid Build Coastguard Worker %tmp1 = bitcast double* %ptr to <2 x double>* 10*9880d681SAndroid Build Coastguard Worker store <2 x double> %v2, <2 x double>* %tmp1, align 16 11*9880d681SAndroid Build Coastguard Worker %add.ptr = getelementptr inbounds double, double* %ptr, i64 -2 12*9880d681SAndroid Build Coastguard Worker %tmp = bitcast double* %add.ptr to <2 x double>* 13*9880d681SAndroid Build Coastguard Worker store <2 x double> %v1, <2 x double>* %tmp, align 16 14*9880d681SAndroid Build Coastguard Worker ret void 15*9880d681SAndroid Build Coastguard Worker} 16*9880d681SAndroid Build Coastguard Worker 17*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: test_nopair_ld 18*9880d681SAndroid Build Coastguard Worker; CHECK: ldr 19*9880d681SAndroid Build Coastguard Worker; CHECK: ldr 20*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: ldp 21*9880d681SAndroid Build Coastguard Workerdefine <2 x i64> @test_nopair_ld(i64* %p) { 22*9880d681SAndroid Build Coastguard Worker %a1 = bitcast i64* %p to <2 x i64>* 23*9880d681SAndroid Build Coastguard Worker %tmp1 = load <2 x i64>, < 2 x i64>* %a1, align 8 24*9880d681SAndroid Build Coastguard Worker %add.ptr2 = getelementptr inbounds i64, i64* %p, i64 2 25*9880d681SAndroid Build Coastguard Worker %a2 = bitcast i64* %add.ptr2 to <2 x i64>* 26*9880d681SAndroid Build Coastguard Worker %tmp2 = load <2 x i64>, <2 x i64>* %a2, align 8 27*9880d681SAndroid Build Coastguard Worker %add = add nsw <2 x i64> %tmp1, %tmp2 28*9880d681SAndroid Build Coastguard Worker ret <2 x i64> %add 29*9880d681SAndroid Build Coastguard Worker} 30