mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Fix merge-typo and cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156541 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b210651654
commit
b88e8dd31d
@ -4980,11 +4980,9 @@ X86TargetLowering::LowerVectorBroadcast(SDValue &Op, SelectionDAG &DAG) const {
|
|||||||
return SDValue();
|
return SDValue();
|
||||||
|
|
||||||
SDValue Sc = Op.getOperand(0);
|
SDValue Sc = Op.getOperand(0);
|
||||||
if (Sc.getOpcode() == ISD::SCALAR_TO_VECTOR)
|
if (Sc.getOpcode() != ISD::SCALAR_TO_VECTOR &&
|
||||||
Ld = Sc.getOperand(0);
|
Sc.getOpcode() != ISD::BUILD_VECTOR)
|
||||||
else if (Sc.getOpcode() == ISD::BUILD_VECTOR)
|
return SDValue();
|
||||||
Ld = Sc.getOperand(0);
|
|
||||||
else return SDValue();
|
|
||||||
|
|
||||||
Ld = Sc.getOperand(0);
|
Ld = Sc.getOperand(0);
|
||||||
ConstSplatVal = (Ld.getOpcode() == ISD::Constant ||
|
ConstSplatVal = (Ld.getOpcode() == ISD::Constant ||
|
||||||
|
Loading…
Reference in New Issue
Block a user