diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-02-22 01:48:00 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-02-22 01:48:00 +0000 |
commit | becda48f88db41f879e5433d063982eeaa614438 (patch) | |
tree | b167b8875fb3fb2056b59b413f84043d1a357936 /lib/CodeGen/SimpleRegisterCoalescing.cpp | |
parent | 9e255b7df5a0a629920706e086e78ef89bf2f183 (diff) |
Fix compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r-- | lib/CodeGen/SimpleRegisterCoalescing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp index 86c9895ca9..ba026d7daf 100644 --- a/lib/CodeGen/SimpleRegisterCoalescing.cpp +++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp @@ -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 |