mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
[PowerPC] Change assert to better form
llvm-svn: 220092
This commit is contained in:
parent
8a07439402
commit
4290f0e275
@ -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