1*9880d681SAndroid Build Coastguard Worker;RUN: llc -march=sparc < %s | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker%struct.foo_t = type { i32, i32, i32 } 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker@s = internal unnamed_addr global %struct.foo_t { i32 10, i32 20, i32 30 } 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Workerdefine i32 @test() nounwind { 8*9880d681SAndroid Build Coastguard Workerentry: 9*9880d681SAndroid Build Coastguard Worker;CHECK-LABEL: test: 10*9880d681SAndroid Build Coastguard Worker;CHECK: st 11*9880d681SAndroid Build Coastguard Worker;CHECK: st 12*9880d681SAndroid Build Coastguard Worker;CHECK: st 13*9880d681SAndroid Build Coastguard Worker;CHECK: bar 14*9880d681SAndroid Build Coastguard Worker %0 = tail call i32 @bar(%struct.foo_t* byval @s) nounwind 15*9880d681SAndroid Build Coastguard Worker ret i32 %0 16*9880d681SAndroid Build Coastguard Worker} 17*9880d681SAndroid Build Coastguard Worker 18*9880d681SAndroid Build Coastguard Workerdeclare i32 @bar(%struct.foo_t* byval) 19