mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 12:36:30 +00:00
add a immAllZerosV_bc pattern fragment for consistency with others.
llvm-svn: 44303
This commit is contained in:
parent
3862759b53
commit
8a1dfeecab
@ -405,13 +405,16 @@ def immAllOnes : PatLeaf<(imm), [{ return N->isAllOnesValue(); }]>;
|
||||
def immAllOnesV: PatLeaf<(build_vector), [{
|
||||
return ISD::isBuildVectorAllOnes(N);
|
||||
}]>;
|
||||
def immAllZerosV: PatLeaf<(build_vector), [{
|
||||
return ISD::isBuildVectorAllZeros(N);
|
||||
}]>;
|
||||
|
||||
def immAllOnesV_bc: PatLeaf<(bitconvert), [{
|
||||
return ISD::isBuildVectorAllOnes(N);
|
||||
}]>;
|
||||
def immAllZerosV: PatLeaf<(build_vector), [{
|
||||
return ISD::isBuildVectorAllZeros(N);
|
||||
}]>;
|
||||
def immAllZerosV_bc: PatLeaf<(bitconvert), [{
|
||||
return ISD::isBuildVectorAllZeros(N);
|
||||
}]>;
|
||||
|
||||
|
||||
|
||||
// Other helper fragments.
|
||||
|
Loading…
Reference in New Issue
Block a user