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

Mateja Marjanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 28 03:46:29 PDT 2023


matejam added a comment.

@arsenm Would it be correct if I wrote a pattern in MadFmaMixPats multiclass, that finds (f16 (fptrunc (f32 (fmul %src1, %src2)))) and turns it into v_fma_mixlo_f16 %src1, %src2, 0.
The add would stay the same.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153544



More information about the llvm-commits mailing list