[X86][AArch64] Add additional extract_lowbits test
authorDanila Malyutin <dmalyutin@azul.com>
Wed, 19 Jul 2023 18:00:08 +0000 (21:00 +0300)
committerDanila Malyutin <dmalyutin@azul.com>
Thu, 20 Jul 2023 06:18:19 +0000 (09:18 +0300)
commitc1013a6eee0ca9ebbfda03fcfdb3afb42ebf31ff
tree26c86f0e36675d23be1b987ef9a1baa8a9c1d84d
parent12baf9859b70c653b3d67f5efdcaf608804efb5d
[X86][AArch64] Add additional extract_lowbits test

Check that vreg_width-1 mask is only removed for shifts

Differential Revision: https://reviews.llvm.org/D155734
llvm/test/CodeGen/AArch64/extract-lowbits.ll
llvm/test/CodeGen/X86/extract-lowbits.ll