[PATCH] D152166: [InstCombine] Expand contractable fmuladd into fmul + fadd

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 15:09:36 PDT 2023


arsenm added a comment.

Checking fast is way too much. At most it might also need nsz, but I'm pretty sure contract is sufficient



================
Comment at: llvm/test/Transforms/InstCombine/fma.ll:230
 }
 
 define float @fmuladd_unary_fneg_x_unary_fneg_y_fast(float %x, float %y, float %z) {
----------------
Could use tests that other flags are preserved 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152166



More information about the llvm-commits mailing list