mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 21:14:56 +00:00
Fix compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9e255b7df5
commit
becda48f88
@ -293,7 +293,7 @@ bool SimpleRegisterCoalescing::RemoveCopyByCommutingDef(LiveInterval &IntA,
|
||||
if (HasOtherReachingDefs(IntA, IntB, AValNo, BValNo))
|
||||
return false;
|
||||
|
||||
if (CommuteLimit >= 0 && numCommutes >= CommuteLimit)
|
||||
if (CommuteLimit >= 0 && numCommutes >= (unsigned)CommuteLimit)
|
||||
return false;
|
||||
|
||||
// At this point we have decided that it is legal to do this
|
||||
|
Loading…
Reference in New Issue
Block a user