diff options
| author | Suyog Sarda <suyog.sarda@samsung.com> | 2014-07-17 19:07:00 +0000 |
|---|---|---|
| committer | Suyog Sarda <suyog.sarda@samsung.com> | 2014-07-17 19:07:00 +0000 |
| commit | 1a212203bce418f5df59239087811cdacfdb7542 (patch) | |
| tree | db488e330e1945fb01d2d01ff0d196fda138486d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 3ac7cf3be93afe676c0a2069ab6a506f7833ba00 (diff) | |
Rectify r213231. Use proper version of 'ComputeNumSignBits'.
Earlier when the code was in InstCombine, we were calling the version of ComputeNumSignBits in InstCombine.h
that automatically added the DataLayout* before calling into ValueTracking.
When the code moved to InstSimplify, we are calling into ValueTracking directly without passing in the DataLayout*.
This patch rectifies the same by passing DataLayout in ComputeNumSignBits.
llvm-svn: 213295
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
