mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-09 15:57:28 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81293 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
302 B
LLVM
12 lines
302 B
LLVM
; PR918
|
|
; RUN: llc < %s -march=c | not grep {l_structtype_s l_fixarray_array3}
|
|
|
|
%structtype_s = type { i32 }
|
|
%fixarray_array3 = type [3 x %structtype_s]
|
|
|
|
define i32 @witness(%fixarray_array3* %p) {
|
|
%q = getelementptr %fixarray_array3* %p, i32 0, i32 0, i32 0
|
|
%v = load i32* %q
|
|
ret i32 %v
|
|
}
|