commit | 6a33e2a9d3d19ba43990dbae7e00f699ac5eee01 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Sun Oct 06 13:08:08 2019 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Sun Oct 06 13:08:08 2019 +0000 |
tree | 658d1669c523dc40db5db0760baff5886966a8cf | |
parent | d7f57aaefb1d8d3c483c2112ec6214f8ad5f8450 [diff] |
[InstCombine] don't assume 'inbounds' for bitcast pointer to GEP transform (PR43501) https://bugs.llvm.org/show_bug.cgi?id=43501 We can't declare a GEP 'inbounds' in general. But we may salvage that information if we have known dereferenceable bytes on the source pointer. Differential Revision: https://reviews.llvm.org/D68244 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373847 91177308-0d34-0410-b5e6-96231b3b80d8