Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/SPARC/2011-01-21-ByValArgs.ll @ 128:c347d3398279 default tip
fix
author | mir3636 |
---|---|
date | Wed, 06 Dec 2017 14:37:17 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
;RUN: llc -march=sparc < %s | FileCheck %s %struct.foo_t = type { i32, i32, i32 } @s = internal unnamed_addr global %struct.foo_t { i32 10, i32 20, i32 30 } define i32 @test() nounwind { entry: ;CHECK-LABEL: test: ;CHECK: st ;CHECK: st ;CHECK: st ;CHECK: bar %0 = tail call i32 @bar(%struct.foo_t* byval @s) nounwind ret i32 %0 } declare i32 @bar(%struct.foo_t* byval)