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)
commit66e23f126d0ffe97f973903de45088ed22552b9e
tree15e8b2512be754c89e60de6d849aa53760fc6836
parent2e42c34d058e5b068ec1cd6dae6cd388937c6e3c
Fix isDereferenceablePointer not to try to take the size of an unsized type.

I'll add a test-case shortly.

llvm-svn: 212687
llvm/lib/IR/Value.cpp