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 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 3ac7cf3be93afe676c0a2069ab6a506f7833ba00 (diff) | |
download | llvm-1a212203bce418f5df59239087811cdacfdb7542.zip llvm-1a212203bce418f5df59239087811cdacfdb7542.tar.gz llvm-1a212203bce418f5df59239087811cdacfdb7542.tar.bz2 |
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 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions