mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +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();
|
||||
|
||||
SDValue Sc = Op.getOperand(0);
|
||||
if (Sc.getOpcode() == ISD::SCALAR_TO_VECTOR)
|
||||
Ld = Sc.getOperand(0);
|
||||
else if (Sc.getOpcode() == ISD::BUILD_VECTOR)
|
||||
Ld = Sc.getOperand(0);
|
||||
else return SDValue();
|
||||
if (Sc.getOpcode() != ISD::SCALAR_TO_VECTOR &&
|
||||
Sc.getOpcode() != ISD::BUILD_VECTOR)
|
||||
return SDValue();
|
||||
|
||||
Ld = Sc.getOperand(0);
|
||||
ConstSplatVal = (Ld.getOpcode() == ISD::Constant ||
|
||||
|
Loading…
Reference in New Issue
Block a user