SystemZ Swift TargetInfo: swifterror support in the backend is broken
authorArnold Schwaighofer <aschwaighofer@apple.com>
Tue, 7 Nov 2017 16:40:51 +0000 (16:40 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Tue, 7 Nov 2017 16:40:51 +0000 (16:40 +0000)
Return false for swifterror support until the backend is fixed.

llvm-svn: 317589

clang/lib/CodeGen/TargetInfo.cpp

index b1773b7..4b80064 100644 (file)
@@ -6319,7 +6319,7 @@ public:
     return occupiesMoreThan(CGT, scalars, /*total*/ 4);
   }
   bool isSwiftErrorInRegister() const override {
-    return true;
+    return false;
   }
 };