llvm-for-llvmta/test/Transforms/GlobalOpt/2009-02-15-BitcastAlias.ll

11 lines
143 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: opt < %s -globalopt
@g = global i32 0
@a = alias i8, bitcast (i32* @g to i8*)
define void @f() {
%tmp = load i8, i8* @a
ret void
}