blob: 57a3ed7c7e3b5c6ebded68a506a4d7f52c046e1f [file] [log] [blame]
; 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:
%0 = load i32, ptr getelementptr inbounds (%struct.st, ptr @x, i32 0, i32 3), align 2
ret i32 %0
}