aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-10-17 20:41:39 +0000
committerSanjay Patel <spatel@rotateright.com>2016-10-17 20:41:39 +0000
commit523cd8290a68821124de2fe52240c1c1f1439895 (patch)
treeb0c4226488789f52f4799fca7ebfcd91215112d5 /clang/lib/Basic/SourceManager.cpp
parentfac32f3f6a61f6abfa3794c2693bcd66c962eba2 (diff)
downloadllvm-523cd8290a68821124de2fe52240c1c1f1439895.zip
llvm-523cd8290a68821124de2fe52240c1c1f1439895.tar.gz
llvm-523cd8290a68821124de2fe52240c1c1f1439895.tar.bz2
[DAG] use isConstOrConstSplat in ComputeNumSignBits to optimize SRA
The scalar version of this pattern was noted in: https://reviews.llvm.org/D25485 and fixed with: https://reviews.llvm.org/rL284395 More refactoring of the constant/splat helpers is needed and will happen in follow-up patches. Differential Revision: https://reviews.llvm.org/D25685 llvm-svn: 284424
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions