Sundeep Kushwaha | 83a4039 | 2015-05-12 20:13:10 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=hexagon -mcpu=hexagonv5 <%s | \ |
2 | ; RUN: FileCheck %s --check-prefix=CHECK-ONE | ||||
3 | |||||
4 | %struct.test_struct = type { i32, i8, i64 } | ||||
5 | |||||
6 | ; CHECK-ONE: r1 = #45 | ||||
7 | define void @foo(%struct.test_struct* noalias nocapture sret %agg.result, i32 %a) #0 { | ||||
8 | entry: | ||||
9 | call void @bar(%struct.test_struct* sret %agg.result, i32 45) #2 | ||||
10 | ret void | ||||
11 | } | ||||
12 | |||||
13 | declare void @bar(%struct.test_struct* sret, i32) #1 |