[mips] Distinguish 'R', 'ZC', and 'm' inline assembly memory constraint.
[oota-llvm.git] / lib / Target / Mips / MipsISelLowering.cpp
index 2eebd76ce246289f2e5c9b536a5d7ad576dfc55a..e4bae03ebd4fc4a60ae8c4de0851128a57c5daff 100644 (file)
@@ -3173,6 +3173,10 @@ getConstraintType(const std::string &Constraint) const
         return C_Memory;
     }
   }
+
+  if (Constraint == "ZC")
+    return C_Memory;
+
   return TargetLowering::getConstraintType(Constraint);
 }