Revert 216491, it breaks CodeGenCXX/microsoft-abi-member-pointers.cpp

llvm-svn: 216496
diff --git a/clang/lib/CodeGen/TargetInfo.cpp b/clang/lib/CodeGen/TargetInfo.cpp
index 4e4f03b..ea5f7c2 100644
--- a/clang/lib/CodeGen/TargetInfo.cpp
+++ b/clang/lib/CodeGen/TargetInfo.cpp
@@ -2773,6 +2773,9 @@
     return ABIArgInfo::getDirect(llvm::IntegerType::get(getVMContext(), Size));
   }
 
+  if (Ty->isPromotableIntegerType())
+    return ABIArgInfo::getExtend();
+
   return ABIArgInfo::getDirect();
 }