[AArch64, fast-isel] Fall back to SelectionDAG to select tail calls.
[oota-llvm.git] / lib / Target / AArch64 / AArch64InstrInfo.cpp
index fcf04dd2c04e680e0aa0950c87ea30297d95c9ba..df883d35fa18be09ad7ba9616a7b5b857a449e13 100644 (file)
@@ -2293,8 +2293,7 @@ static bool canCombineWithMUL(MachineBasicBlock &MBB, MachineOperand &MO,
     return false;
 
   // Must only used by the user we combine with.
-  // FIXME: handle the case of DBG uses gracefully
-  if (!MRI.hasOneUse(MI->getOperand(0).getReg()))
+  if (!MRI.hasOneNonDBGUse(MI->getOperand(0).getReg()))
     return false;
 
   return true;