mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
use SDValue bool operator; NFCI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
438a6a0608
commit
b9b8054704
@ -11056,9 +11056,8 @@ static SDValue LowerINSERT_SUBVECTOR(SDValue Op, const X86Subtarget *Subtarget,
|
|||||||
if (auto *Idx2 = dyn_cast<ConstantSDNode>(Vec.getOperand(2))) {
|
if (auto *Idx2 = dyn_cast<ConstantSDNode>(Vec.getOperand(2))) {
|
||||||
if (Idx2->getZExtValue() == 0) {
|
if (Idx2->getZExtValue() == 0) {
|
||||||
SDValue Ops[] = { SubVec2, SubVec };
|
SDValue Ops[] = { SubVec2, SubVec };
|
||||||
SDValue LD = EltsFromConsecutiveLoads(OpVT, Ops, dl, DAG, false);
|
if (SDValue Ld = EltsFromConsecutiveLoads(OpVT, Ops, dl, DAG, false))
|
||||||
if (LD.getNode())
|
return Ld;
|
||||||
return LD;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user