[PATCH] D23313: X86: FMA intrinsic + FNEG - sequence optimization

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 10 06:47:43 PDT 2016


RKSimon added a comment.

Instead of adding the forceLegalization approach why can't we just expand combineFMA to support the negation of inputs for all X86ISD FMA/AVX512 opcodes? A helper function might be necessary (to detect FNEG or FXOR signbit-flipping) but that should be all.


Repository:
  rL LLVM

https://reviews.llvm.org/D23313





More information about the llvm-commits mailing list