- Add LiveVariables::replaceKillInstruction. This does a subset of instructionChanged...
authorEvan Cheng <evan.cheng@apple.com>
Thu, 3 Jul 2008 00:07:19 +0000 (00:07 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 3 Jul 2008 00:07:19 +0000 (00:07 +0000)
commitbe04dc1413bdab0c8687a8086792af6cfd7540c0
treeec20a72422a289cd10907a1515c5a6812064e1ec
parent457b88fb95be895d914e52f3b44014a82e645e4a
- Add LiveVariables::replaceKillInstruction. This does a subset of instructionChanged. That is, it only update the VarInfo.kills if the new instruction is known to have the correct dead and kill markers.
- CommuteInstruction copies kill / dead markers over to new instruction. So use replaceKillInstruction instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53061 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveVariables.h
lib/CodeGen/LiveVariables.cpp
lib/CodeGen/TwoAddressInstructionPass.cpp