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