mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-24 23:29:41 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103869 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7189fd03fa
commit
2c13ab2bb8
@ -416,8 +416,8 @@ RAFast::LiveRegMap::iterator RAFast::allocVirtReg(MachineBasicBlock &MBB,
|
|||||||
|
|
||||||
// Ignore invalid hints.
|
// Ignore invalid hints.
|
||||||
if (Hint && (!TargetRegisterInfo::isPhysicalRegister(Hint) ||
|
if (Hint && (!TargetRegisterInfo::isPhysicalRegister(Hint) ||
|
||||||
!RC->contains(Hint) || UsedInInstr.test(Hint)) ||
|
!RC->contains(Hint) || UsedInInstr.test(Hint) ||
|
||||||
!Allocatable.test(Hint))
|
!Allocatable.test(Hint)))
|
||||||
Hint = 0;
|
Hint = 0;
|
||||||
|
|
||||||
// If there is no hint, peek at the first use of this register.
|
// If there is no hint, peek at the first use of this register.
|
||||||
|
Loading…
Reference in New Issue
Block a user