blob: 80f82439249261f3b2cc02f5c784fdfae1634218 [file] [log] [blame]
Tanya Lattner4c4d0b82008-03-01 09:15:35 +00001; RUN: llvm-as < %s | opt -globalopt -disable-output
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002; PR579
3
Tanya Lattner4c4d0b82008-03-01 09:15:35 +00004@g_40507551 = internal global i16 31038 ; <i16*> [#uses=1]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00005
Tanya Lattner4c4d0b82008-03-01 09:15:35 +00006define void @main() {
7 %tmp.4.i.1 = load i8* getelementptr (i8* bitcast (i16* @g_40507551 to i8*), i32 1) ; <i8> [#uses=0]
8 ret void
Dan Gohmanf17a25c2007-07-18 16:29:46 +00009}
Tanya Lattner4c4d0b82008-03-01 09:15:35 +000010