[PATCH] D66092: [CodeGen] Generate constrained fp intrinsics depending on FPOptions

Serge Pavlov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 13 09:38:04 PDT 2019


sepavloff added a comment.

In D66092#1625380 <https://reviews.llvm.org/D66092#1625380>, @kpn wrote:

> Does this work for anything that uses TreeTransform, like C++ templates?


Added such tests.

> Also, if any constrained intrinsics are used in a function then the entire function needs to be constrained. Is this handled anywhere?

If we decided to make the entire function constrained, it should be done somewhere in IR transformations, because inlining may mix function bodies with different fp options.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66092/new/

https://reviews.llvm.org/D66092





More information about the cfe-commits mailing list