commit | af5e339c6b385fb8758c0659a18219e45a1eff9e | [log] [tgz] |
---|---|---|
author | Philip Reames <listmail@philipreames.com> | Tue Feb 19 23:07:15 2019 +0000 |
committer | Philip Reames <listmail@philipreames.com> | Tue Feb 19 23:07:15 2019 +0000 |
tree | 1e18de11300934f36eabceab838b8a7ab6d36362 | |
parent | 06157535f434ce1bf754e221861d3fcc39a866df [diff] |
[GVN] Fix a crash bug around non-integral pointers If we encountered a location where we tried to forward the value of a memset to a load of a non-integral pointer, we crashed. Such a forward is not legal in general, but we can forward null pointers. Test for both cases are included. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354399 91177308-0d34-0410-b5e6-96231b3b80d8