Fix miscodegen of V_SET0 in PPC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-03-18 00:40:36 +00:00
parent 79691bc1f3
commit 485c00f7e8

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;