Skip to content

Commit 7baf528

Browse files
committed
[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
1 parent dc2f5f9 commit 7baf528

File tree

4 files changed

+8005
-0
lines changed

4 files changed

+8005
-0
lines changed

0 commit comments

Comments
 (0)