Make MachineRegisterInfo::getVRegDef more efficient by aiming the keep the def of...
authorChris Lattner <sabre@nondot.org>
Tue, 1 Jan 2008 21:08:22 +0000 (21:08 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 1 Jan 2008 21:08:22 +0000 (21:08 +0000)
commit80fe5311b5e9e5c4642ff46ba2377173c17797f6
treea529acbeee1403661fe7e35899614a5bce33036b
parente138b3dd1ff02d826233482831318708a166ed93
Make MachineRegisterInfo::getVRegDef more efficient by aiming the keep the def of the vreg at the start of the list, so the list doesn't need to be traversed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45483 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineInstr.cpp