[LLVMdev] Presenting Unsafe Math Flag to Optimizer
Duncan Sands
baldrick at free.fr
Thu Jan 14 02:01:07 PST 2010
Hi Bill,
> The current implementation of the "allow unsafe math" option is to specify it via the TargetOptions object. However, this prevents the target-independent optimizer from using it. Are there any opinions (ha!) on how this could be achieved in a nice clean manner which doesn't require using the TargetOptions object in the optimizer?
a flag on each floating point operation, saying whether it does "exact" math or
not?
Ciao,
Duncan.
More information about the llvm-dev
mailing list