mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
add a immAllZerosV_bc pattern fragment for consistency with others.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44303 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a32092103
commit
ffc04d3e4f
@ -405,13 +405,16 @@ def immAllOnes : PatLeaf<(imm), [{ return N->isAllOnesValue(); }]>;
|
|||||||
def immAllOnesV: PatLeaf<(build_vector), [{
|
def immAllOnesV: PatLeaf<(build_vector), [{
|
||||||
return ISD::isBuildVectorAllOnes(N);
|
return ISD::isBuildVectorAllOnes(N);
|
||||||
}]>;
|
}]>;
|
||||||
def immAllZerosV: PatLeaf<(build_vector), [{
|
|
||||||
return ISD::isBuildVectorAllZeros(N);
|
|
||||||
}]>;
|
|
||||||
|
|
||||||
def immAllOnesV_bc: PatLeaf<(bitconvert), [{
|
def immAllOnesV_bc: PatLeaf<(bitconvert), [{
|
||||||
return ISD::isBuildVectorAllOnes(N);
|
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.
|
// Other helper fragments.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user