1 ; Test that GCSE uses basicaa to do alias analysis, which is capable of
2 ; disambiguating some obvious cases. All loads should be removable in
5 ; RUN: llvm-upgrade < %s | llvm-as | opt -basicaa -load-vn -gcse -instcombine -dce | llvm-dis | not grep load
14 store int 123, int* %B ; Store cannot alias %A
25 %AP = phi int [0, %0], [%X, %Loop]
26 store int %AP, int* %B ; Store cannot alias %A
31 br bool %c, label %out, label %Loop
37 declare void %external()