[LLVMdev] Presenting Unsafe Math Flag to Optimizer

Bill Wendling wendling at apple.com
Wed Jan 13 16:20:19 PST 2010


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?

-bw





More information about the llvm-dev mailing list