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 793c8136ae
commit d7cabc0f81

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;