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:
f6d8481
)
Silence warning
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 11 May 2010 20:51:04 +0000
(20:51 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Tue, 11 May 2010 20:51:04 +0000
(20:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103508
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineRegisterInfo.cpp
b/lib/CodeGen/MachineRegisterInfo.cpp
index 4a150435cefe64d6253a35bfcd66fbd08ae5eaa5..5465fca05f7b81c88420c6535f280cab636ebe31 100644
(file)
--- a/
lib/CodeGen/MachineRegisterInfo.cpp
+++ b/
lib/CodeGen/MachineRegisterInfo.cpp
@@
-272,7
+272,7
@@
void MachineRegisterInfo::closePhysRegsUsed(const TargetRegisterInfo &TRI) {
i = UsedPhysRegs.find_next(i))
for (const unsigned *SS = TRI.getSubRegisters(i);
unsigned SubReg = *SS; ++SS)
- if (SubReg >
i
)
+ if (SubReg >
unsigned(i)
)
UsedPhysRegs.set(SubReg);
}