[PATCH] D109746: [AA] Teach BasicAA to recognize basic GEP range information.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 11 01:44:13 PDT 2021


courbet added inline comments.


================
Comment at: llvm/test/Analysis/BasicAA/assume-index-positive.ll:57
 
 ; Same as @test1, but the assume just guarantees %skip > -3, which is not
 ; enough to derive NoAlias
----------------
xbolva00 wrote:
> Comments needs to be adjusted.
Fixed in 342d7b654c63cadaa6135913c9582a7272fced58: "Same as @test1, this time the assume just guarantees %skip > -3, which is
enough to derive NoAlias for %ptr and %col.ptr.2 (distance is more than 3 doubles, and we load 1 double), but not %col.ptr.1 and %col.ptr.2 (distance is more than 3 doubles, and we load 6 doubles)."


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109746/new/

https://reviews.llvm.org/D109746



More information about the llvm-commits mailing list