r317589 - SystemZ Swift TargetInfo: swifterror support in the backend is broken

Arnold Schwaighofer via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 7 08:40:52 PST 2017


Author: arnolds
Date: Tue Nov  7 08:40:51 2017
New Revision: 317589

URL: http://llvm.org/viewvc/llvm-project?rev=317589&view=rev
Log:
SystemZ Swift TargetInfo: swifterror support in the backend is broken

Return false for swifterror support until the backend is fixed.

Modified:
    cfe/trunk/lib/CodeGen/TargetInfo.cpp

Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=317589&r1=317588&r2=317589&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Tue Nov  7 08:40:51 2017
@@ -6319,7 +6319,7 @@ public:
     return occupiesMoreThan(CGT, scalars, /*total*/ 4);
   }
   bool isSwiftErrorInRegister() const override {
-    return true;
+    return false;
   }
 };
 




More information about the cfe-commits mailing list