[LLVMdev] Removing the constant pool

Anton Korobeynikov anton at korobeynikov.info
Tue Jan 5 08:38:07 PST 2010


Hello

> I was wondering if it is possible to stop floating-point constants being converted to use the constant pool? As for our back-end we would like to be able to treat floating point constants the same way integer constants are treated instead of having to go via the constant pool.
Yes, surely. Just make ISD::ConstantFP for given type legal and handle
it during isel.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University




More information about the llvm-dev mailing list