The ADD and ADDK (and all variants) instructions where flip-flopped in the MBlaze...
[oota-llvm.git] / lib / Target / MBlaze / MBlazeAsmBackend.cpp
index 0d39d60a89c88f0d53b7551c127e2804133babd9..8037c4ee5c18a3fe1b52e26d052d2216ce0f8a10 100644 (file)
@@ -61,7 +61,7 @@ public:
 static unsigned getRelaxedOpcode(unsigned Op) {
     switch (Op) {
     default:            return Op;
-    case MBlaze::ADDI:  return MBlaze::ADDI32;
+    case MBlaze::ADDIK: return MBlaze::ADDIK32;
     case MBlaze::ORI:   return MBlaze::ORI32;
     case MBlaze::BRLID: return MBlaze::BRLID32;
     }