2009-09-09 07:54:48 +08:00
|
|
|
; RUN: llc < %s -march=x86 | not grep drectve
|
2007-08-14 02:42:37 +08:00
|
|
|
; 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:
|
2015-03-14 02:20:45 +08:00
|
|
|
ret %hlvm_programs_element* getelementptr([1 x %hlvm_programs_element], [1 x %hlvm_programs_element]*
|
2007-08-14 02:42:37 +08:00
|
|
|
@hlvm_programs, i32 0, i32 0)
|
|
|
|
}
|