[PATCH] D59833: [FPEnv] New document for adding new constrained FP intrinsics

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 10 10:56:30 PDT 2019


kpn marked an inline comment as done.
kpn added inline comments.


================
Comment at: docs/AddingConstrainedIntrinsics.rst:62
+version of the node does not use the chain then the STRICT node cannot
+either.::
+
----------------
cameron.mcinally wrote:
> andrew.w.kaylor wrote:
> > I don't understand this last sentence. Our strict nodes do use the chain and the non-strict versions don't, right?
> > 
> > BTW, Craig tells me that we're probably going to have to rethink the who mutateStrictFPToFP think to keep instruction ordering correct. I'm not suggesting that you change that in this document now. Just mentioning it as something to think about.
> > BTW, Craig tells me that we're probably going to have to rethink the who mutateStrictFPToFP think to keep instruction ordering correct. I'm not suggesting that you change that in this document now. Just mentioning it as something to think about.
> 
> Digressing a bit...
> 
> I also ran into problems with mutateStrictFPToFP and Custom lowerings in D54649.
> 
> Ideally mutateStrictFPToFP would go away once we have proper backend support. E.g. D55506. Although, I suppose it will take some time for all the backends to get up to speed, so mutateStrictFPToFP will have to live on for some time... :/
I think I wrote that back when I was trying to avoid use of the chain. Plus, some of the code got moved to the legalizer since then. I've reworded this to be more current and reflect use of the chain.


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

https://reviews.llvm.org/D59833





More information about the llvm-commits mailing list