Fix an GCC warning that seems to have actually caught a bug (!!!) in
a condition's grouping. Every other use of Allocatable.test(Hint) groups it the same way as it is indented, so move the parentheses to agree with that grouping. llvm-svn: 103869
This commit is contained in:
parent
9e688cbcc9
commit
75142e6bfc
|
@ -416,8 +416,8 @@ RAFast::LiveRegMap::iterator RAFast::allocVirtReg(MachineBasicBlock &MBB,
|
|||
|
||||
// Ignore invalid hints.
|
||||
if (Hint && (!TargetRegisterInfo::isPhysicalRegister(Hint) ||
|
||||
!RC->contains(Hint) || UsedInInstr.test(Hint)) ||
|
||||
!Allocatable.test(Hint))
|
||||
!RC->contains(Hint) || UsedInInstr.test(Hint) ||
|
||||
!Allocatable.test(Hint)))
|
||||
Hint = 0;
|
||||
|
||||
// If there is no hint, peek at the first use of this register.
|
||||
|
|
Loading…
Reference in New Issue