[PATCH] D153544: [AMDGPU] Use V_FMA_MIX* more often

Mateja Marjanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 4 01:16:38 PDT 2023


matejam added a comment.

Instead of writing patterns that select fma/mad_mix*, write combiners for sdag and global isel that will transform
fptrunc (fmul a, b) into fptrunc (fma a, b, 0), which will later be selected into v_fma/mad_mix*.


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

https://reviews.llvm.org/D153544



More information about the llvm-commits mailing list