diff options
author | Nikita Popov <npopov@redhat.com> | 2021-12-28 14:09:34 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2021-12-28 14:13:33 +0100 |
commit | 23de66d1636b53ff4e52be91f6b84f014a6ae279 (patch) | |
tree | d24e1c6c84aa8e6b430d60beb51c6da77686c4d5 /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp | |
parent | 1bd11d34feecde09958669f6c507b9a10cc6b2ab (diff) | |
download | llvm-23de66d1636b53ff4e52be91f6b84f014a6ae279.zip llvm-23de66d1636b53ff4e52be91f6b84f014a6ae279.tar.gz llvm-23de66d1636b53ff4e52be91f6b84f014a6ae279.tar.bz2 |
[ConstFold] Don't fold signed comparison of gep of global
An inbounds GEP may still cross the sign boundary, so signed icmps
cannot be folded (https://alive2.llvm.org/ce/z/XSgi4D). This was
previously fixed for other folds in this function, but this one
was missed.
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions