llvm-6502/test/Transforms/IndMemRem/2009-01-24-Noalias.ll
2009-01-25 07:59:57 +00:00

12 lines
231 B
LLVM

; RUN: llvm-as < %s | opt -indmemrem | llvm-dis | 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
}