diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2016-10-17 20:41:39 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2016-10-17 20:41:39 +0000 |
| commit | 523cd8290a68821124de2fe52240c1c1f1439895 (patch) | |
| tree | b0c4226488789f52f4799fca7ebfcd91215112d5 /llvm/unittests/Support | |
| parent | fac32f3f6a61f6abfa3794c2693bcd66c962eba2 (diff) | |
| download | bcm5719-llvm-523cd8290a68821124de2fe52240c1c1f1439895.tar.gz bcm5719-llvm-523cd8290a68821124de2fe52240c1c1f1439895.zip | |
[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 'llvm/unittests/Support')
0 files changed, 0 insertions, 0 deletions

