[PATCH] D43142: Experimental pass to convert all floating point operations to the equivalent constrained intrinsics

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 2 14:51:02 PDT 2018


cameron.mcinally added a comment.

In https://reviews.llvm.org/D43142#1285974, @andrew.w.kaylor wrote:

> We still need to control code motion. For instance, if the code checks the status bits before calling the FENV_ACCESS OFF function we can't have FP operations that are inlined hoisted above the status bit check.


How are you envisioning the status bits are checked?

If through fegetenv() and friends, those should probably be barriers.


https://reviews.llvm.org/D43142





More information about the llvm-commits mailing list