Tony Linthicum | b4b5415 | 2011-12-12 21:14:40 +0000 | [diff] [blame^] | 1 | ; RUN: llc -march=hexagon -mcpu=hexagonv4 < %s | FileCheck %s |
2 | ; CHECK: r1:0 = or(r{{[0-9]}}:{{[0-9]}}, r{{[0-9]}}:{{[0-9]}}) | ||||
3 | |||||
4 | %struct.small = type { i32, i32 } | ||||
5 | |||||
6 | @s1 = common global %struct.small zeroinitializer, align 4 | ||||
7 | |||||
8 | define void @foo() nounwind { | ||||
9 | entry: | ||||
10 | %0 = load i64* bitcast (%struct.small* @s1 to i64*), align 1 | ||||
11 | call void @bar(i64 %0) | ||||
12 | ret void | ||||
13 | } | ||||
14 | |||||
15 | declare void @bar(i64) |