mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Remove checking for isUNPCKL_v_undef_Mask, the specific node is already emitted for it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1b68af4183
commit
ad10fb2b56
@ -5290,8 +5290,7 @@ X86TargetLowering::LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const {
|
||||
return getMOVL(DAG, dl, VT, V2, V1);
|
||||
}
|
||||
|
||||
if (X86::isUNPCKL_v_undef_Mask(SVOp) ||
|
||||
X86::isUNPCKH_v_undef_Mask(SVOp) ||
|
||||
if (X86::isUNPCKH_v_undef_Mask(SVOp) ||
|
||||
X86::isUNPCKLMask(SVOp) ||
|
||||
X86::isUNPCKHMask(SVOp))
|
||||
return Op;
|
||||
@ -5316,8 +5315,7 @@ X86TargetLowering::LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const {
|
||||
// FIXME: this seems wrong.
|
||||
SDValue NewOp = CommuteVectorShuffle(SVOp, DAG);
|
||||
ShuffleVectorSDNode *NewSVOp = cast<ShuffleVectorSDNode>(NewOp);
|
||||
if (X86::isUNPCKL_v_undef_Mask(NewSVOp) ||
|
||||
X86::isUNPCKH_v_undef_Mask(NewSVOp) ||
|
||||
if (X86::isUNPCKH_v_undef_Mask(NewSVOp) ||
|
||||
X86::isUNPCKLMask(NewSVOp) ||
|
||||
X86::isUNPCKHMask(NewSVOp))
|
||||
return NewOp;
|
||||
|
Loading…
Reference in New Issue
Block a user