1; RUN: llc < %s -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 8define void @test1() { 9; CHECK-LABEL: @test1 10; CHECK: adrp 11; CHECK: ldr q0 12; CHECK: str q0 13; CHECK: ret 14entry: 15 tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* align 8 undef, i8* align 8 bitcast (%structA* @stubA to i8*), i64 48, i1 false) 16 ret void 17} 18 19declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i1) 20