[PATCH] D110642: Add ability to detect no-alias between different fields of the same structure

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 28 11:06:24 PDT 2021


nikic requested changes to this revision.
nikic added a comment.
This revision now requires changes to proceed.

BasicAA doesn't do this because it's wrong. It is legal to overindex an array in a structure, as long as the bounds of the underlying object are not exceeded, even for inbounds GEP.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110642



More information about the llvm-commits mailing list