diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-18 03:04:14 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-12-18 03:04:14 +0000 |
commit | 3b2966dc7d8221c2dc008646b6f3ec2558ad290d (patch) | |
tree | 1fa5cdf31514fd01e62533d046ca23c99ebc0cb7 /llvm/lib/MC/MCELFObjectTargetWriter.cpp | |
parent | 2a9f194b002d2160ceb395536b9d431b8e67027d (diff) | |
download | bcm5719-llvm-3b2966dc7d8221c2dc008646b6f3ec2558ad290d.tar.gz bcm5719-llvm-3b2966dc7d8221c2dc008646b6f3ec2558ad290d.zip |
Teach the inline spiller to attempt folding a load instruction into its single
use before rematerializing the load.
This allows us to produce:
addps LCPI0_1(%rip), %xmm2
Instead of:
movaps LCPI0_1(%rip), %xmm3
addps %xmm3, %xmm2
Saving a register and an instruction. The standard spiller already knows how to
do this.
llvm-svn: 122133
Diffstat (limited to 'llvm/lib/MC/MCELFObjectTargetWriter.cpp')
0 files changed, 0 insertions, 0 deletions