aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-09 05:58:56 +0000
committerChris Lattner <sabre@nondot.org>2005-10-09 05:58:56 +0000
commit089c25ccb3469946d70d9fa97d2e0b7ab16902a2 (patch)
tree6b8d617248a13ea7e123cfa763d4b0c3203bd92c /lib/CodeGen/BranchFolding.cpp
parent65a419a1045972729f91f82a378b7f4b7f6a2be5 (diff)
When emiting a CopyFromReg and the source is already a vreg, do not bother
creating a new vreg and inserting a copy: just use the input vreg directly. This speeds up the compile (e.g. about 5% on mesa with a debug build of llc) by not adding a bunch of copies and vregs to be coallesced away. On mesa, for example, this reduces the number of intervals from 168601 to 129040 going into the coallescer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions