Changes in directory llvm/utils/TableGen:

CodeEmitterGen.cpp updated: 1.43 -> 1.44
---
Log message:

Fix miscodegen of V_SET0 in PPC.


---
Diffs of the changes:  (+4 -0)

 CodeEmitterGen.cpp |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/utils/TableGen/CodeEmitterGen.cpp
diff -u llvm/utils/TableGen/CodeEmitterGen.cpp:1.43 
llvm/utils/TableGen/CodeEmitterGen.cpp:1.44
--- llvm/utils/TableGen/CodeEmitterGen.cpp:1.43 Thu Jan 26 19:39:38 2006
+++ llvm/utils/TableGen/CodeEmitterGen.cpp      Fri Mar 17 18:40:36 2006
@@ -112,6 +112,10 @@
         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;



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to