diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-24 12:34:14 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-24 12:36:56 +0100 |
commit | ef2f843347baca1ece69066a3c3a7afa45532079 (patch) | |
tree | 04cf4b9f030b40296fb9d5e32d39512c794167df /llvm/lib/Transforms/Utils/CodeMoverUtils.cpp | |
parent | e0751234ef0df733032b777ed0d993a490121855 (diff) | |
download | llvm-ef2f843347baca1ece69066a3c3a7afa45532079.zip llvm-ef2f843347baca1ece69066a3c3a7afa45532079.tar.gz llvm-ef2f843347baca1ece69066a3c3a7afa45532079.tar.bz2 |
Revert "[InstCombine] Check inbounds in load/store of gep null transform (PR48577)"
This reverts commit 899faa50f206073cdd8eeaaa130ffa15f850e656.
Upon further consideration, this does not fix the right issue.
Doing this fold for non-inbounds GEPs is legal, because the
resulting pointer is still based-on null, which has no associated
address range, and as such and access to it is UB.
https://bugs.llvm.org/show_bug.cgi?id=48577#c3
Diffstat (limited to 'llvm/lib/Transforms/Utils/CodeMoverUtils.cpp')
0 files changed, 0 insertions, 0 deletions