Fix miscodegen of V_SET0 in PPC.

llvm-svn: 26836
This commit is contained in:
Chris Lattner 2006-03-18 00:40:36 +00:00
parent 21f87d0e4c
commit f878f6aa54
1 changed files with 4 additions and 0 deletions

View File

@ -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;