[llvm-commits] CVS: llvm/lib/CodeGen/LiveVariables.cpp
Evan Cheng
evan.cheng at apple.com
Thu Apr 26 01:24:43 PDT 2007
Changes in directory llvm/lib/CodeGen:
LiveVariables.cpp updated: 1.77 -> 1.78
---
Log message:
Minor bug.
---
Diffs of the changes: (+2 -2)
LiveVariables.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/CodeGen/LiveVariables.cpp
diff -u llvm/lib/CodeGen/LiveVariables.cpp:1.77 llvm/lib/CodeGen/LiveVariables.cpp:1.78
--- llvm/lib/CodeGen/LiveVariables.cpp:1.77 Wed Apr 25 20:40:09 2007
+++ llvm/lib/CodeGen/LiveVariables.cpp Thu Apr 26 03:24:22 2007
@@ -281,7 +281,7 @@
// Add implicit use / kill to last use of a sub-register.
addRegisterKilled(Reg, PhysRegPartUse[Reg], true);
else
- addRegisterDead(Reg, LastRef, true);
+ addRegisterDead(Reg, LastRef);
}
PhysRegInfo[Reg] = MI;
PhysRegUsed[Reg] = false;
@@ -294,7 +294,7 @@
addRegisterKilled(SubReg, LastRef);
else if (PhysRegPartUse[SubReg])
// Add implicit use / kill to last use of a sub-register.
- addRegisterKilled(SubReg, PhysRegPartUse[SubReg]);
+ addRegisterKilled(SubReg, PhysRegPartUse[SubReg], true);
else
addRegisterDead(SubReg, LastRef);
}
More information about the llvm-commits
mailing list