]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317589 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TargetInfo.cpp

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