summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix/Program.inc
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
commit0832f2635aba0e1a2b2cbe6d99154378d8a1afe2 (patch)
treedfe71fb7c0b08f53aa74402400ea486f96c9f23b /llvm/lib/System/Unix/Program.inc
parent89c7fa22b18987bfacce2f79d3a689a05e00a6aa (diff)
downloadbcm5719-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/System/Unix/Program.inc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud