[PATCH] D67275: GlobalISel: Add G_FMAD instruction

Aditya Nandakumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 07:52:37 PDT 2019


aditya_nandakumar added a comment.

In D67275#1660914 <https://reviews.llvm.org/D67275#1660914>, @arsenm wrote:

> In D67275#1660898 <https://reviews.llvm.org/D67275#1660898>, @aditya_nandakumar wrote:
>
> > Looks good. Is this something that's only produced during legalization of targets?
>
>
> It's produced by optimization combines in the DAG mostly, but AMDGPU does use this in a couple custom legalizations


If this is used only by one target (AMDGPU) (and does not require further legalizations), one alternative could be making this a target pseudo.


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

https://reviews.llvm.org/D67275





More information about the llvm-commits mailing list