projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e255b7
)
Fix compiler warning.
author
Evan Cheng
<evan.cheng@apple.com>
Fri, 22 Feb 2008 01:48:00 +0000
(
01:48
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Fri, 22 Feb 2008 01:48:00 +0000
(
01:48
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47468
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SimpleRegisterCoalescing.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SimpleRegisterCoalescing.cpp
b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 86c9895ca92a276d384e9eb519fd34cd2235f986..ba026d7daf7f2df6f225fe2080ee852dc2d16965 100644
(file)
--- 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