[ValueTracking] Properly handle non-sized types in isAligned function.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Mon, 21 Dec 2015 20:38:18 +0000 (20:38 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Mon, 21 Dec 2015 20:38:18 +0000 (20:38 +0000)
commit4c1d77039a5566842aaf9624c1c22a4bca968f41
tree0f337a53e1bc29870055f5eebc13afe27bf8248b
parent9e02fe5b4a2d21e864f582f54a95a488e041e2e7
[ValueTracking] Properly handle non-sized types in isAligned function.

Reviewers: apilipenko, reames, sanjoy, hfinkel

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D15597

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