HomePhabricator

[X86] Add test case to show missed opportunity to remove an explicit AND on the…

Authored by craig.topper on Feb 20 2019, 11:02 AM.

Description

[X86] Add test case to show missed opportunity to remove an explicit AND on the bit position from BT when it has known zeros. NFC

If the bit position has known zeros in it, then the AND immediate will likely be optimized to remove bits.

This can prevent GetDemandedBits from recognizing that the AND is unnecessary.

llvm-svn: 354501

Details

Committed
craig.topperFeb 20 2019, 11:02 AM
Parents
rGe4a7a461514a: Fix license headers
Branches
Unknown
Tags
Unknown