blob: cc409db562a11e73911ab1ee3b9e9bfa68c7f1cc [file] [log] [blame]
Tony Linthicumb4b54152011-12-12 21:14:40 +00001; 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
8define void @foo() nounwind {
9entry:
10 %0 = load i64* bitcast (%struct.small* @s1 to i64*), align 1
11 call void @bar(i64 %0)
12 ret void
13}
14
15declare void @bar(i64)