1 ; In this test, a local alloca cannot alias an incoming argument.
3 ; RUN: opt < %s -basicaa -gvn -instcombine -S | FileCheck %s
5 ; CHECK: define i32 @test
6 ; CHECK-NEXT: ret i32 0
8 define i32 @test(i32* %P) {
10 %V1 = load i32, i32* %P
12 %V2 = load i32, i32* %P
13 %Diff = sub i32 %V1, %V2