1 ; RUN: llc < %s -march=aarch64 -mtriple=aarch64-linux-gnu | FileCheck %s 2 3 %structA = type { i128 } 4 @stubA = internal unnamed_addr constant %structA zeroinitializer, align 8 5 6 ; Make sure we don't hit llvm_unreachable. 7 8 define void @test1() { 9 ; CHECK-LABEL: @test1 10 ; CHECK: adrp 11 ; CHECK: ldr q0 12 ; CHECK: str q0 13 ; CHECK: ret 14 entry: 15 tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* undef, i8* bitcast (%structA* @stubA to i8*), i64 48, i32 8, i1 false) 16 ret void 17 } 18 19 declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i32, i1) 20