optimize FastISel::UpdateValueMap to avoid duplicate map lookups,
authorChris Lattner <sabre@nondot.org>
Sun, 12 Apr 2009 07:45:01 +0000 (07:45 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 12 Apr 2009 07:45:01 +0000 (07:45 +0000)
commitc5040ab6065d5c569a1af0848b6e672b22b174b7
tree0107e752b42bab2c0844a568499a2e35a3049608
parenta9a42259ed0cd418466bcaeff93eca933dae7efb
optimize FastISel::UpdateValueMap to avoid duplicate map lookups,
and make it return the assigned register.

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