[PowerPC] Change assert to better form

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220092 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Schmidt 2014-10-17 21:19:59 +00:00
parent 24463c7df7
commit b56bf6b112

View File

@ -1730,9 +1730,9 @@ protected:
// For virtual registers, verify that the addend source register // For virtual registers, verify that the addend source register
// is live here (as should have been assured above). // is live here (as should have been assured above).
if (TargetRegisterInfo::isVirtualRegister(AddendSrcReg)) assert((!TargetRegisterInfo::isVirtualRegister(AddendSrcReg) ||
assert(LIS->getInterval(AddendSrcReg).liveAt(FMAIdx) && LIS->getInterval(AddendSrcReg).liveAt(FMAIdx)) &&
"Addend source register is not available!"); "Addend source register is not live!");
// Transform: (O2 * O3) + O1 -> (O2 * O1) + O3. // Transform: (O2 * O3) + O1 -> (O2 * O1) + O3.