1; RUN: llc < %s -mtriple=armv7-none-linux-gnueabi | FileCheck %s 2 3@.str = private unnamed_addr constant [12 x i8] c"val.a = %f\0A\00" 4%struct_t = type { double, double, double } 5@static_val = constant %struct_t { double 1.0, double 2.0, double 3.0 } 6 7declare i32 @printf(ptr, ...) 8 9; CHECK-LABEL: test_byval_usage_scheduling: 10; CHECK-DAG: str r3, [sp, #12] 11; CHECK-DAG: str r2, [sp, #8] 12; CHECK: vldr d16, [sp, #8] 13define void @test_byval_usage_scheduling(i32 %n1, i32 %n2, ptr byval(%struct_t) %val) nounwind { 14entry: 15 %0 = load double, ptr %val 16 %call = call i32 (ptr, ...) @printf(ptr @.str, double %0) 17 ret void 18} 19