mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Simplify some code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27846 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80d428c370
commit
89a1b380a4
@ -3430,11 +3430,7 @@ SDOperand SelectionDAGLegalize::ExpandBUILD_VECTOR(SDNode *Node) {
|
||||
|
||||
for (unsigned i = 1; i < NumElems; ++i) {
|
||||
SDOperand V = Node->getOperand(i);
|
||||
std::map<SDOperand, std::vector<unsigned> >::iterator I = Values.find(V);
|
||||
if (I != Values.end())
|
||||
I->second.push_back(i);
|
||||
else
|
||||
Values[V].push_back(i);
|
||||
Values[V].push_back(i);
|
||||
if (V.getOpcode() != ISD::UNDEF)
|
||||
isOnlyLowElement = false;
|
||||
if (SplatValue != V)
|
||||
|
Loading…
Reference in New Issue
Block a user