mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 08:08:01 +00:00
Keep coding standard. Don't evaluate getNumOperands() every time.
llvm-svn: 166531
This commit is contained in:
parent
9a429d8811
commit
66155dae31
@ -8434,7 +8434,7 @@ SDValue DAGCombiner::reduceBuildVecExtToExtBuildVec(SDNode *N) {
|
||||
SmallVector<SDValue, 8> Ops(NewBVElems, Filler);
|
||||
|
||||
// Populate the new build_vector
|
||||
for (unsigned i=0; i < N->getNumOperands(); ++i) {
|
||||
for (unsigned i = 0, e = N->getNumOperands(); i != e; ++i) {
|
||||
SDValue Cast = N->getOperand(i);
|
||||
assert((Cast.getOpcode() == ISD::ANY_EXTEND ||
|
||||
Cast.getOpcode() == ISD::ZERO_EXTEND ||
|
||||
|
Loading…
Reference in New Issue
Block a user