[llvm] r266045 - Minor code cleanup. NFC.
Junmo Park via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 11 23:02:12 PDT 2016
Author: flyingforyou
Date: Tue Apr 12 01:02:11 2016
New Revision: 266045
URL: http://llvm.org/viewvc/llvm-project?rev=266045&view=rev
Log:
Minor code cleanup. NFC.
Modified:
llvm/trunk/utils/TableGen/CodeGenTarget.cpp
Modified: llvm/trunk/utils/TableGen/CodeGenTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/CodeGenTarget.cpp?rev=266045&r1=266044&r2=266045&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/CodeGenTarget.cpp (original)
+++ llvm/trunk/utils/TableGen/CodeGenTarget.cpp Tue Apr 12 01:02:11 2016
@@ -352,9 +352,9 @@ void CodeGenTarget::reverseBitsForLittle
BitsInit *BI = R->getValueAsBitsInit("Inst");
unsigned numBits = BI->getNumBits();
-
+
SmallVector<Init *, 16> NewBits(numBits);
-
+
for (unsigned bit = 0, end = numBits / 2; bit != end; ++bit) {
unsigned bitSwapIdx = numBits - bit - 1;
Init *OrigBit = BI->getBit(bit);
More information about the llvm-commits
mailing list