Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [NFC][CodeGen][X86][AArch64] Add and-const-mask + const-shift pattern tests | Roman Lebedev | 2019-05-14 | 1 | -0/+1265 |
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 |