Make output match actual condition tested. Thanks, Duncan.
[oota-llvm.git] / lib / VMCore / Function.cpp
index ab12ae8bfe298e049503e53c3f52436ff7f3e466..dd781964a9174ad28bb215a4a1132fab8cf9352f 100644 (file)
@@ -90,9 +90,9 @@ std::string
 ParamAttrsList::getParamAttrsText(uint16_t Attrs) {
   std::string Result;
   if (Attrs & ParamAttr::ZExt)
-    Result += "zext ";
+    Result += "zeroext ";
   if (Attrs & ParamAttr::SExt)
-    Result += "sext ";
+    Result += "signext ";
   if (Attrs & ParamAttr::NoReturn)
     Result += "noreturn ";
   if (Attrs & ParamAttr::NoUnwind)