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