commit | f212856e5032c8ee760f6bb67190da01db296535 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Mon Mar 02 06:00:02 2015 +0000 |
committer | Owen Anderson <resistor@mac.com> | Mon Mar 02 06:00:02 2015 +0000 |
tree | 60fa6051740e1fd920df7232b6de76ca80b25909 | |
parent | 0923ca275bac81966b0662c2d3eb0e455db432d6 [diff] |
Teach DataLayout that zero-byte pointer sizes don't make sense. Previously this would result in assertion failures or simply crashes at various points in the optimizer when trying to create types of zero bit width. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230936 91177308-0d34-0410-b5e6-96231b3b80d8