Disable a broken optimization
authorChris Lattner <sabre@nondot.org>
Sun, 15 Jan 2006 19:15:46 +0000 (19:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 15 Jan 2006 19:15:46 +0000 (19:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25340 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/SparcISelDAGToDAG.cpp
lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp

index 96b442cfb656b9df3e224d7e28965d44d7886b65..56dc26a2fa4a2a4895076960e58cf7c0117a4e81 100644 (file)
@@ -445,7 +445,8 @@ SparcV8TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy,
       ObjSize = 8;
       // If we can store this directly into the outgoing slot, do so.  We can
       // do this when all ArgRegs are used and if the outgoing slot is aligned.
-      if (RegValuesToPass.size() >= 6 && ((ArgOffset-68) & 7) == 0) {
+      // FIXME: McGill/misr fails with this.
+      if (0 && RegValuesToPass.size() >= 6 && ((ArgOffset-68) & 7) == 0) {
         ValToStore = Val;
         break;
       }
index 96b442cfb656b9df3e224d7e28965d44d7886b65..56dc26a2fa4a2a4895076960e58cf7c0117a4e81 100644 (file)
@@ -445,7 +445,8 @@ SparcV8TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy,
       ObjSize = 8;
       // If we can store this directly into the outgoing slot, do so.  We can
       // do this when all ArgRegs are used and if the outgoing slot is aligned.
-      if (RegValuesToPass.size() >= 6 && ((ArgOffset-68) & 7) == 0) {
+      // FIXME: McGill/misr fails with this.
+      if (0 && RegValuesToPass.size() >= 6 && ((ArgOffset-68) & 7) == 0) {
         ValToStore = Val;
         break;
       }