2011-02-20 12:57:14 +00:00
|
|
|
; RUN: llc < %s -march=xcore
|
|
|
|
%struct.st = type <{ i8, i32, i8, i32, i8, i32 }>
|
|
|
|
|
|
|
|
@x = external global %struct.st, align 4
|
|
|
|
|
|
|
|
define i32 @test_entry() nounwind {
|
|
|
|
entry:
|
2015-05-27 18:44:32 +00:00
|
|
|
%0 = load i32, i32* getelementptr inbounds (%struct.st, %struct.st* @x, i32 0, i32 3), align 2
|
2011-02-20 12:57:14 +00:00
|
|
|
ret i32 %0
|
|
|
|
}
|