Skip to content
Commit 3b2966dc authored by Jakob Stoklund Olesen's avatar Jakob Stoklund Olesen
Browse files

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
parent 2a9f194b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment