summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/BasicAA/assume-index-positive.ll
Commit message (Collapse)AuthorAgeFilesLines
* [BasicAA] Use GEP as context for computeKnownBits in aliasGEP.Florian Hahn2019-12-121-0/+116
In order to use assumptions, computeKnownBits needs a context instruction. We can use the GEP, if it is an instruction. We already pass the assumption cache, but it cannot be used without a context instruction. Reviewers: anemet, asbirlea, hfinkel, spatel Reviewed By: asbirlea Differential Revision: https://reviews.llvm.org/D71264
OpenPOWER on IntegriCloud