diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2019-05-14 20:17:04 +0000 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2019-05-14 20:17:04 +0000 |
commit | 7baf528aba22edcd0561bdc823c2d7c44aea4395 (patch) | |
tree | 3c2d2b4a4593c006cfca9082c9242716744b894b /llvm/lib/Passes | |
parent | dc2f5f9ff81dbc4f963adf023fadea3404d084e5 (diff) | |
download | bcm5719-llvm-7baf528aba22edcd0561bdc823c2d7c44aea4395.tar.gz bcm5719-llvm-7baf528aba22edcd0561bdc823c2d7c44aea4395.zip |
[NFC][CodeGen][X86][AArch64] Add and-const-mask + const-shift pattern tests
Unlike instcombine, we currently don't turn and+shift into shift+and.
We probably should, likely unconditionally.
While i'm adding only all-ones (potentially shifted) mask,
this obviously isn't limited to any particular mask pattern:
https://rise4fun.com/Alive/kmX
Related to https://bugs.llvm.org/show_bug.cgi?id=41874
llvm-svn: 360706
Diffstat (limited to 'llvm/lib/Passes')
0 files changed, 0 insertions, 0 deletions