projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79691bc
)
Fix miscodegen of V_SET0 in PPC.
author
Chris Lattner
<sabre@nondot.org>
Sat, 18 Mar 2006 00:40:36 +0000
(
00:40
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 18 Mar 2006 00:40:36 +0000
(
00:40
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26836
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/CodeEmitterGen.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/CodeEmitterGen.cpp
b/utils/TableGen/CodeEmitterGen.cpp
index b733fdf431675374c25fd126df0c1d2d3e6f1e24..15b35d5d5dbc8a7d875e3b9a7c84709b6f902666 100644
(file)
--- a/
utils/TableGen/CodeEmitterGen.cpp
+++ b/
utils/TableGen/CodeEmitterGen.cpp
@@
-112,6
+112,10
@@
void CodeEmitterGen::run(std::ostream &o) {
NewBI->setBit(middle, BI->getBit(middle));
}
BI = NewBI;
+
+ // Update the bits in reversed order so that emitInstrOpBits will get the
+ // correct endianness.
+ R->getValue("Inst")->setValue(NewBI);
}
unsigned Value = 0;