mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
4e3740ee6d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124587 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
260 B
LLVM
11 lines
260 B
LLVM
; 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* getelementptr inbounds (%struct.st* @x, i32 0, i32 3), align 2
|
|
ret i32 %0
|
|
}
|