1 // RUN: %clang_cc1 -triple aarch64_be-linux-gnu -ffreestanding -emit-llvm -O0 -o - %s | FileCheck --check-prefix IR %s 2 3 struct bt3 { signed b2:10; signed b3:10; } b16; 4 5 // Get the high 32-bits and then shift appropriately for big-endian. 6 signed callee_b0f(struct bt3 bp11) { 7 // IR: callee_b0f(i64 [[ARG:%.*]]) 8 // IR: store i64 [[ARG]], i64* [[PTR:%.*]], align 8 9 // IR: [[BITCAST:%.*]] = bitcast i64* [[PTR]] to i8* 10 // IR: call void @llvm.memcpy.p0i8.p0i8.i64(i8* {{.*}}, i8* [[BITCAST]], i64 4 11 return bp11.b2; 12 } 13