brintos

brintos / llvm-project-archived public Read only

0
0
Text · 407 B · 378cbdf Raw
19 lines · plain
1;RUN: llc -mtriple=sparc < %s | FileCheck %s2 3%struct.foo_t = type { i32, i32, i32 }4 5@s = internal unnamed_addr global %struct.foo_t { i32 10, i32 20, i32 30 }6 7define i32 @test() nounwind {8entry:9;CHECK-LABEL:     test:10;CHECK:     st11;CHECK:     st12;CHECK:     st13;CHECK:     bar14  %0 = tail call i32 @bar(ptr byval(%struct.foo_t) @s) nounwind15  ret i32 %016}17 18declare i32 @bar(ptr byval(%struct.foo_t))19