Fix isDereferenceablePointer not to try to take the size of an unsized type.
authorHal Finkel <hfinkel@anl.gov>
Thu, 10 Jul 2014 06:06:11 +0000 (06:06 +0000)
committerHal Finkel <hfinkel@anl.gov>
Thu, 10 Jul 2014 06:06:11 +0000 (06:06 +0000)
commit5ee0267e4931378841066abc7aa8dec7f1d82abb
tree7e3fa91860e5f303d0c012414562a4d2665c3c5b
parenta739834446a6d057d1af7f5eb172bac3204e757b
Fix isDereferenceablePointer not to try to take the size of an unsized type.

I'll add a test-case shortly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212687 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Value.cpp