view llvm/test/Transforms/GlobalOpt/2009-02-15-BitcastAlias.ll @ 201:a96fbbdf2d0f

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 04 Jun 2021 21:07:06 +0900
parents 1d019706d866
children 1f2b6ac9f198
line wrap: on
line source

; 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
}