HomePhabricator

[X86] Return false from hasAndNotCompare if the comparision value is a constant.

Authored by craig.topper on Dec 22 2018, 9:52 PM.

Description

[X86] Return false from hasAndNotCompare if the comparision value is a constant.

We won't end up using an ANDN instruction in this case so we should generate the same code we do for pre-BMI targets.

llvm-svn: 350018

Details

Committed
craig.topperDec 22 2018, 9:52 PM
Parents
rG69952979da5b: [MemoryLocation] Use LocationSize instead of ints; NFC
Branches
Unknown
Tags
Unknown