commit | 7fad7e57e8137a2e6c6d8c21fe92d436a053b2f1 | [log] [tgz] |
---|---|---|
author | Artur Pilipenko <apilipenko@azulsystems.com> | Mon Jun 08 11:58:13 2015 +0000 |
committer | Artur Pilipenko <apilipenko@azulsystems.com> | Mon Jun 08 11:58:13 2015 +0000 |
tree | 789235442663959cf2c82b6c3ea22066404f0c85 | |
parent | 1c5ad681d7be4192b9d9f88f2821d7f9cd258a63 [diff] |
Minor refactoring of GEP handling in isDereferenceablePointer For GEP instructions isDereferenceablePointer checks that all indices are constant and within bounds. Replace this index calculation logic to a call to accumulateConstantOffset. Separated from the http://reviews.llvm.org/D9791 Reviewed By: sanjoy Differential Revision: http://reviews.llvm.org/D9874 llvm-svn: 239299