[PATCH] D71264: [BasicAA] Use GEP as context for computeKnownBits in aliasGEP.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 06:20:23 PST 2019
fhahn created this revision.
fhahn added reviewers: anemet, asbirlea, hfinkel, spatel.
Herald added subscribers: arphaman, hiraditya.
Herald added a project: LLVM.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D71264
Files:
llvm/lib/Analysis/BasicAliasAnalysis.cpp
llvm/test/Analysis/BasicAA/assume-index-positive.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71264.233075.patch
Type: text/x-patch
Size: 7230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191210/9bc39536/attachment.bin>
More information about the llvm-commits
mailing list