[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.


-----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>
> Is there any way to get llvm to not spill floating point constants to
> but to keep them in registers, i.e. get rid of the constantPool and
> generate ConstantFP instructions?

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

LLVM Developers mailing list
LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu

More information about the llvm-dev mailing list