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:
b7be115
)
Remove unneeded check (with the recent change in live variables a use
author
Alkis Evlogimenos
<alkis@evlogimenos.com>
Tue, 13 Jan 2004 21:16:25 +0000
(21:16 +0000)
committer
Alkis Evlogimenos
<alkis@evlogimenos.com>
Tue, 13 Jan 2004 21:16:25 +0000
(21:16 +0000)
of a physical register is always dominated by a def).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10821
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveVariables.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveVariables.cpp
b/lib/CodeGen/LiveVariables.cpp
index 1bfc6e553d64207b646e8591250204e88eb0799e..bf78c53214cfe050790a8ccac8ced8a907b8648e 100644
(file)
--- a/
lib/CodeGen/LiveVariables.cpp
+++ b/
lib/CodeGen/LiveVariables.cpp
@@
-114,10
+114,8
@@
void LiveVariables::HandleVirtRegUse(VarInfo &VRInfo, MachineBasicBlock *MBB,
}
void LiveVariables::HandlePhysRegUse(unsigned Reg, MachineInstr *MI) {
- if (PhysRegInfo[Reg]) {
- PhysRegInfo[Reg] = MI;
- PhysRegUsed[Reg] = true;
- }
+ PhysRegInfo[Reg] = MI;
+ PhysRegUsed[Reg] = true;
}
void LiveVariables::HandlePhysRegDef(unsigned Reg, MachineInstr *MI) {