Never attempt to join an early-clobber def with a regular kill.
[oota-llvm.git] / lib / CodeGen / ExecutionDepsFix.cpp
index 2311842671a1515378b94657fe250c68dbd623b5..ed78f1942150eea83de9c1f4a49e8d150527753b 100644 (file)
@@ -657,7 +657,7 @@ bool ExeDepsFix::runOnMachineFunction(MachineFunction &mf) {
   bool anyregs = false;
   for (TargetRegisterClass::const_iterator I = RC->begin(), E = RC->end();
        I != E; ++I)
-    if (MF->getRegInfo().isPhysRegOrOverlapUsed(*I)) {
+    if (MF->getRegInfo().isPhysRegUsed(*I)) {
       anyregs = true;
       break;
     }