<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi, Jason,</p>
<p>You shouldn't need to use UsafeFPMath at all now. Instead, use
fast-math flags on the relevant instructions. See:
<a class="moz-txt-link-freetext" href="http://llvm.org/docs/LangRef.html#fast-math-flags">http://llvm.org/docs/LangRef.html#fast-math-flags</a></p>
<p> -Hal<br>
</p>
<div class="moz-cite-prefix">On 06/28/2017 12:29 PM, Jason via
llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:CAAy+6_FXQwduvCE+_-e1knmov=Gw1H7FREJm5McnFTe9WLp8yw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">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?
<div>
<div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory</pre>
</body>
</html>