mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
[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:
parent
24463c7df7
commit
b56bf6b112
@ -1730,9 +1730,9 @@ protected:
|
||||
|
||||
// For virtual registers, verify that the addend source register
|
||||
// is live here (as should have been assured above).
|
||||
if (TargetRegisterInfo::isVirtualRegister(AddendSrcReg))
|
||||
assert(LIS->getInterval(AddendSrcReg).liveAt(FMAIdx) &&
|
||||
"Addend source register is not available!");
|
||||
assert((!TargetRegisterInfo::isVirtualRegister(AddendSrcReg) ||
|
||||
LIS->getInterval(AddendSrcReg).liveAt(FMAIdx)) &&
|
||||
"Addend source register is not live!");
|
||||
|
||||
// Transform: (O2 * O3) + O1 -> (O2 * O1) + O3.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user