nemanjai added a comment.

Converting more generic code to target-specific intrinsics is sometimes 
necessary to ensure the generic IR doesn't get transformed in a way that is 
disadvantageous. I believe that the description of this review claims that to 
be the case for these negated FMA's. The obvious disadvantage of producing 
target-specific intrinsics is that the optimizer knows nothing about them so no 
advantageous transformations can happen either (i.e. hiding the semantics from 
the optimizer is sometimes a good thing and sometimes a bad thing).

The description of this patch includes no test case that shows the optimizer 
performing an undesirable transformation. So the motivation for making the 
front end produce more opaque code is not at all clear.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116015

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D116015: [PowerPC... Qiu Chaofan via Phabricator via cfe-commits
    • [PATCH] D116015: [Po... Nemanja Ivanovic via Phabricator via cfe-commits

Reply via email to