[PATCH] D87342: Allow targets to augment computeKnownBits with their analysis using TargetTransformInfo
Quentin Colombet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 10:12:58 PDT 2020
qcolombet added a comment.
> If the motivating cases all start with a gep, then could we add the extra logic to a wrapper around the regular computeKnownBits()?
Unfortunately the motivating example doesn't start with a gep, or at least, there is no guarantee it would start with a gep.
Anyway, I can already push the NFC changes like the added tests cases and refactoring of KnownBits.
In the meantime, any other idea on how we could have GEPs being more precise?
Should I resurrect https://reviews.llvm.org/D86364?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87342/new/
https://reviews.llvm.org/D87342
More information about the llvm-commits
mailing list