[PATCH] D45576: [RFC] Allow target to handle STRICT floating-point nodes

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 22 12:33:03 PDT 2018


cameron.mcinally added a comment.

> ! In https://reviews.llvm.org/D45576#1108112, @hfinkel wrote:

...

> Why not just add a dependence on the registers that matter?

That would be ideal, as long as there's a switch to ignore the dependency for users that do not care about traps.

On x86, the MXCSR register could be both used and defined by simple operations, such as a DIV. That could, of course, prevent a ton of optimizations... unless the individual bits of MXCSR are tracked.


Repository:
  rL LLVM

https://reviews.llvm.org/D45576





More information about the llvm-commits mailing list