Add a trivial but handy function to efficiently return the machine
authorChris Lattner <sabre@nondot.org>
Tue, 1 Jan 2008 03:07:29 +0000 (03:07 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 1 Jan 2008 03:07:29 +0000 (03:07 +0000)
commita91a7d594ff1e1503731ca92f72e627bdfd18f3f
tree15c37e071b49da85dec69f1f307ecb9047ebdf1d
parent6c5757e4e85bb190097be13c1630bb107a1fbcfe
Add a trivial but handy function to efficiently return the machine
instruction that defines the specified vreg.  Crazy.

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