MemDerefPrinter: Require DataLayoutPass for higher accuracy
authorRamkumar Ramachandra <artagnon@gmail.com>
Mon, 9 Feb 2015 21:50:03 +0000 (21:50 +0000)
committerRamkumar Ramachandra <artagnon@gmail.com>
Mon, 9 Feb 2015 21:50:03 +0000 (21:50 +0000)
commitc904d5075f364d5ec2996e9270a6082e482510bc
tree59862cc0b4f0a07517728c525232bac6eb3af7ea
parentc016fa420fb79d0ca553978b244c922da29b2ded
MemDerefPrinter: Require DataLayoutPass for higher accuracy

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228611 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/MemDerefPrinter.cpp
test/Analysis/ValueTracking/memory-dereferenceable.ll