When a return struct pointer is passed in registers, the called has nothing
to pop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160725 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86FastISel.cpp b/lib/Target/X86/X86FastISel.cpp
index 08ad7fa..4eeefae 100644
--- a/lib/Target/X86/X86FastISel.cpp
+++ b/lib/Target/X86/X86FastISel.cpp
@@ -1527,6 +1527,8 @@
     return 0;
   if (!CS.paramHasAttr(1, Attribute::StructRet))
     return 0;
+ if (CS.paramHasAttr(1, Attribute::InReg))
+    return 0;
   return 4;
 }