llvm-6502/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll
2009-03-14 19:40:09 +00:00

10 lines
205 B
LLVM

; RUN: llvm-as < %s | opt -aa-eval -basicaa |& grep {0 no alias}
declare noalias i32* @noalias()
define void @test(i32 %x) {
%a = call i32* @noalias()
%b = getelementptr i32* %a, i32 %x
ret void
}