llvm-6502/test/Transforms/IndMemRem/2009-01-24-Noalias.ll
2009-09-08 22:34:10 +00:00

12 lines
211 B
LLVM

; RUN: opt %s -indmemrem -S | grep bounce | grep noalias
declare i8* @malloc(i32)
@g = external global i8*
define void @test() {
%A = bitcast i8* (i32) * @malloc to i8*
store i8* %A, i8** @g
ret void
}