summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/MemDerefPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* MemDerefPrinter: Require DataLayoutPass for higher accuracyRamkumar Ramachandra2015-02-091-3/+12
| | | | | | | | | | Without a valid data layout, deferenceable(N) doesn't get parsed or propagated. Since this is the key item we are testing, add a dependency on the pass. Differential Revision: http://reviews.llvm.org/D7508 llvm-svn: 228611
* Introduce print-memderefs to test isDereferenceablePointerRamkumar Ramachandra2015-02-061-0/+61
Since testing the function indirectly is tricky, introduce a direct print-memderefs pass, in the same spirit as print-memdeps, which prints dereferenceability information matched by FileCheck. Differential Revision: http://reviews.llvm.org/D7075 llvm-svn: 228369
OpenPOWER on IntegriCloud