| 1 |
; RUN: llc < %s -mtriple=xcore |
| 2 |
%struct.st = type <{ i8, i32, i8, i32, i8, i32 }> |
| 3 |
|
| 4 |
@x = external global %struct.st, align 4 |
| 5 |
|
| 6 |
define i32 @test_entry() nounwind { |
| 7 |
entry: |
| 8 |
%0 = load i32, ptr getelementptr inbounds (%struct.st, ptr @x, i32 0, i32 3), align 2 |
| 9 |
ret i32 %0 |
| 10 |
} |