diff options
author | Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> | 2022-12-12 13:36:45 +0530 |
---|---|---|
committer | Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> | 2022-12-12 13:36:45 +0530 |
commit | c2a0baad1fbb21fe111fef83ec93c2d7923b9b0c (patch) | |
tree | 13bc05eddf92eb36ce0c487f7eab41f000698217 /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | |
parent | 5bb06c7cce6bdcffb3ced29fa733c0dbb1b63c41 (diff) | |
download | llvm-c2a0baad1fbb21fe111fef83ec93c2d7923b9b0c.zip llvm-c2a0baad1fbb21fe111fef83ec93c2d7923b9b0c.tar.gz llvm-c2a0baad1fbb21fe111fef83ec93c2d7923b9b0c.tar.bz2 |
[AAPointerInfo] track multiple constant offsets for each use
An expression of the form `gep(base, select(pred, const1, const2))` can result
in a set of offsets instead of just one. PointerInfo can now track these sets
instead of conservatively modeling them as Unknown. In general, AAPointerInfo
now uses AAPotentialConstantValues to examine the operands of the GEP.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D138646
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
0 files changed, 0 insertions, 0 deletions