[LLVMdev] Presenting Unsafe Math Flag to Optimizer

Devang Patel devang.patel at gmail.com
Wed Jan 13 16:50:37 PST 2010


On Wed, Jan 13, 2010 at 4:20 PM, Bill Wendling <wendling at apple.com> wrote:
> Hi all,
>
> A quick question:
>
> 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?
>

function attribute.
-
Devang




More information about the llvm-dev mailing list