[LLVMdev] Spilling constants to memory

Eli Friedman eli.friedman at gmail.com
Tue Oct 7 17:30:31 PDT 2008


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



More information about the llvm-dev mailing list