[PATCH] D150010: AMDGPU: fold fmed3 of fpext sources to f16 fmed3

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 17:29:10 PDT 2023

arsenm created this revision.
arsenm added reviewers: AMDGPU, foad, b-sumner, Pierre-vh.
Herald added subscribers: kosarev, StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

InstCombine already does this for minnum/maxnum. If we
also apply this to fmed3, we don't need to explicitly
use 16-bit fmed3 if we're not sure the target
supports 16-bit instructions yet.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150010.520008.patch
Type: text/x-patch
Size: 6425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230506/7d19ef30/attachment.bin>

More information about the llvm-commits mailing list