Fix the TCRETURNmi64 bug differently.
[oota-llvm.git] / lib / Target / Hexagon / HexagonAsmPrinter.cpp
index 0dc243f2b8766cb2c41811b2621d8b03c4342c38..5fa4740f2af3cd58217fbc3d5515a303cf122dc8 100644 (file)
@@ -133,7 +133,9 @@ bool HexagonAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
     if (ExtraCode[1] != 0) return true; // Unknown modifier.
 
     switch (ExtraCode[0]) {
-    default: return true;  // Unknown modifier.
+    default:
+      // See if this is a generic print operand
+      return AsmPrinter::PrintAsmOperand(MI, OpNo, AsmVariant, ExtraCode, OS);
     case 'c': // Don't print "$" before a global var name or constant.
       // Hexagon never has a prefix.
       printOperand(MI, OpNo, OS);