Fix compiler warning.

llvm-svn: 47468
This commit is contained in:
Evan Cheng 2008-02-22 01:48:00 +00:00
parent f3057a939d
commit 271aef2b03
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ bool SimpleRegisterCoalescing::RemoveCopyByCommutingDef(LiveInterval &IntA,
if (HasOtherReachingDefs(IntA, IntB, AValNo, BValNo)) if (HasOtherReachingDefs(IntA, IntB, AValNo, BValNo))
return false; return false;
if (CommuteLimit >= 0 && numCommutes >= CommuteLimit) if (CommuteLimit >= 0 && numCommutes >= (unsigned)CommuteLimit)
return false; return false;
// At this point we have decided that it is legal to do this // At this point we have decided that it is legal to do this