diff options
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-09-23 09:02:23 +0100 |
---|---|---|
committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | 2021-09-23 09:25:06 +0100 |
commit | 05663dc14644d12d688155d55ba267e7b7e69817 (patch) | |
tree | 64c1429188eac43fbe976ce235e0c8dbd24c5c16 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 8b87c3d5736730cda1d8856098621029b759f3d1 (diff) | |
download | llvm-05663dc14644d12d688155d55ba267e7b7e69817.zip llvm-05663dc14644d12d688155d55ba267e7b7e69817.tar.gz llvm-05663dc14644d12d688155d55ba267e7b7e69817.tar.bz2 |
[InstSimplify] Don't lose inbounds when simplifying a GEP
I noticed this while working on a (ptrtoint (gep null, x)) -> x fold.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D110168
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions