This method has now been changed to preserve flags for us!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7603 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SparcV9/SparcV9InstrSelection.cpp b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
index 049f141..e645261 100644
--- a/lib/Target/SparcV9/SparcV9InstrSelection.cpp
+++ b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
@@ -1367,11 +1367,8 @@
       }
           
       for (unsigned i=0,numOps=minstr->getNumImplicitRefs(); i<numOps; ++i)
-        if (minstr->getImplicitRef(i) == unusedOp) {
-          minstr->setImplicitRef(i, fwdOp,
-                                 minstr->getImplicitOp(i).opIsDefOnly(),
-                                 minstr->getImplicitOp(i).opIsDefAndUse());
-        }
+        if (minstr->getImplicitRef(i) == unusedOp)
+          minstr->setImplicitRef(i, fwdOp);
     }
   }
 }