mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
a45d9a15ba
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41048 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
417 B
LLVM
13 lines
417 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 | not grep drectve
|
|
; PR1607
|
|
|
|
%hlvm_programs_element = type { i8*, i32 (i32, i8**)* }
|
|
@hlvm_programs = appending constant [1 x %hlvm_programs_element]
|
|
zeroinitializer
|
|
|
|
define %hlvm_programs_element* @hlvm_get_programs() {
|
|
entry:
|
|
ret %hlvm_programs_element* getelementptr([1 x %hlvm_programs_element]*
|
|
@hlvm_programs, i32 0, i32 0)
|
|
}
|