mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-13 07:50:50 +00:00
Silence a warning.
Despite changing the order of evaluation, this doesn't actually change the meaning of the statement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60177 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
440954c64b
commit
a89d102b32
@ -397,7 +397,7 @@ bool SchedulePostRATDList::BreakAntiDependencies() {
|
||||
// Determine AntiDepReg's register class, if it is live and is
|
||||
// consistently used within a single class.
|
||||
const TargetRegisterClass *RC = AntiDepReg != 0 ? Classes[AntiDepReg] : 0;
|
||||
assert(AntiDepReg == 0 || RC != NULL &&
|
||||
assert((AntiDepReg == 0 || RC != NULL) &&
|
||||
"Register should be live if it's causing an anti-dependence!");
|
||||
if (RC == reinterpret_cast<TargetRegisterClass *>(-1))
|
||||
AntiDepReg = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user