[LLVMdev] Spilling constants to memory

Villmow, Micah Micah.Villmow at amd.com
Wed Oct 8 09:47:48 PDT 2008


Thanks Eli,
 That did exactly what I wanted.

Micah

-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of Eli Friedman
Sent: Tuesday, October 07, 2008 5:31 PM
To: LLVM Developers Mailing List
Subject: Re: [LLVMdev] Spilling constants to memory

On Tue, Oct 7, 2008 at 4:02 PM, Villmow, Micah <Micah.Villmow at amd.com>
wrote:
> Is there any way to get llvm to not spill floating point constants to
memory
> but to keep them in registers, i.e. get rid of the constantPool and
just
> generate ConstantFP instructions?

"setOperationAction(ISD::ConstantFP, MVT::f32, Legal);"?

-Eli
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev






More information about the llvm-dev mailing list