projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
018c1d4
)
Minor code cleanup. NFC.
author
Junmo Park
<junmoz.park@samsung.com>
Tue, 12 Apr 2016 06:02:11 +0000
(06:02 +0000)
committer
Junmo Park
<junmoz.park@samsung.com>
Tue, 12 Apr 2016 06:02:11 +0000
(06:02 +0000)
llvm-svn: 266045
llvm/utils/TableGen/CodeGenTarget.cpp
patch
|
blob
|
history
diff --git
a/llvm/utils/TableGen/CodeGenTarget.cpp
b/llvm/utils/TableGen/CodeGenTarget.cpp
index
167ed76
..
b952e90
100644
(file)
--- a/
llvm/utils/TableGen/CodeGenTarget.cpp
+++ b/
llvm/utils/TableGen/CodeGenTarget.cpp
@@
-352,9
+352,9
@@
void CodeGenTarget::reverseBitsForLittleEndianEncoding() {
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);