projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PseudoSourceValue: Replace global manager with a manager in a machine function.
[oota-llvm.git]
/
lib
/
CodeGen
/
MachineRegisterInfo.cpp
diff --git
a/lib/CodeGen/MachineRegisterInfo.cpp
b/lib/CodeGen/MachineRegisterInfo.cpp
index 5984af87a184204b2fb46d80efc61b0cf34ca901..d3704efb6318c8fe537281a3fb5e260521a8cb56 100644
(file)
--- a/
lib/CodeGen/MachineRegisterInfo.cpp
+++ b/
lib/CodeGen/MachineRegisterInfo.cpp
@@
-116,6
+116,8
@@
void MachineRegisterInfo::clearVirtRegs() {
}
#endif
VRegInfo.clear();
+ for (auto &I : LiveIns)
+ I.second = 0;
}
void MachineRegisterInfo::verifyUseList(unsigned Reg) const {