Skip to content
Commit 28a3e7de authored by jacquesguan's avatar jacquesguan
Browse files

[RISCV] Override hasAndNotCompare to use more andn when have Zbb extension.

Enable transform (X & Y) == Y ---> (~X & Y) == 0 and (X & Y) != Y ---> (~X & Y) != 0 when have Zbb extension to use more andn instruction.

Differential Revision: https://reviews.llvm.org/D115922
parent ee5d5e19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment