mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 14:07:32 +00:00
Eliminate some uses of immAllOnes, just use -1, it does
the same thing and is more efficient for the matcher. llvm-svn: 96713
This commit is contained in:
parent
ce7be2638a
commit
ad9fa2075b
@ -496,7 +496,7 @@ def immAllZerosV_bc: PatLeaf<(bitconvert), [{
|
||||
|
||||
|
||||
// Other helper fragments.
|
||||
def not : PatFrag<(ops node:$in), (xor node:$in, immAllOnes)>;
|
||||
def not : PatFrag<(ops node:$in), (xor node:$in, -1)>;
|
||||
def vnot : PatFrag<(ops node:$in), (xor node:$in, immAllOnesV)>;
|
||||
def vnot_conv : PatFrag<(ops node:$in), (xor node:$in, immAllOnesV_bc)>;
|
||||
def ineg : PatFrag<(ops node:$in), (sub 0, node:$in)>;
|
||||
|
Loading…
Reference in New Issue
Block a user