bolt/deps/llvm-18.1.8/llvm/test/Transforms/GlobalOpt/2009-02-15-BitcastAlias.ll
2025-02-14 19:21:04 +01:00

10 lines
132 B
LLVM

; RUN: opt < %s -passes=globalopt
@g = global i32 0
@a = alias i8, ptr @g
define void @f() {
%tmp = load i8, ptr @a
ret void
}