[llvm-dev] Override TargetOptions for block of code?
Hal Finkel via llvm-dev
llvm-dev at lists.llvm.org
Wed Jun 28 10:53:40 PDT 2017
You shouldn't need to use UsafeFPMath at all now. Instead, use fast-math
flags on the relevant instructions. See:
On 06/28/2017 12:29 PM, Jason via llvm-dev wrote:
> Hi, we generally run our JIT with UnsafeFPMath enabled, but there are
> a few specific instances where a block of code needs to follow strict
> FPMath. Is there a way to temporarily override TargetOptions for a
> specific block of IR?
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev