diff options
| author | Chris Lattner <sabre@nondot.org> | 2005-10-09 05:58:56 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2005-10-09 05:58:56 +0000 |
| commit | 0832f2635aba0e1a2b2cbe6d99154378d8a1afe2 (patch) | |
| tree | dfe71fb7c0b08f53aa74402400ea486f96c9f23b /llvm/lib/Analysis/DataStructure/TopDownClosure.cpp | |
| parent | 89c7fa22b18987bfacce2f79d3a689a05e00a6aa (diff) | |
| download | bcm5719-llvm-0832f2635aba0e1a2b2cbe6d99154378d8a1afe2.tar.gz bcm5719-llvm-0832f2635aba0e1a2b2cbe6d99154378d8a1afe2.zip | |
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.
llvm-svn: 23671
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/TopDownClosure.cpp')
0 files changed, 0 insertions, 0 deletions

