[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcInstrSelection.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Aug 5 12:00:00 PDT 2003


Changes in directory llvm/lib/Target/Sparc:

SparcInstrSelection.cpp updated: 1.110 -> 1.111

---
Log message:

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


---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/SparcInstrSelection.cpp
diff -u llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.110 llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.111
--- llvm/lib/Target/Sparc/SparcInstrSelection.cpp:1.110	Fri Aug  1 10:54:38 2003
+++ llvm/lib/Target/Sparc/SparcInstrSelection.cpp	Tue Aug  5 11:59:24 2003
@@ -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);
     }
   }
 }





More information about the llvm-commits mailing list