[PATCH] D90901: [X86] Don't fold (fneg (fma (fneg X), Y, (fneg Z))) to (fma X, Y, Z)

Jim Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 19:39:43 PDT 2021


Jim updated this revision to Diff 346618.
Jim added a comment.

Rebase and update testcases.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90901

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/avx2-fma-fneg-combine.ll
  llvm/test/CodeGen/X86/fma-fneg-combine.ll
  llvm/test/CodeGen/X86/fma-signed-zero.ll
  llvm/test/CodeGen/X86/fma_patterns.ll
  llvm/test/CodeGen/X86/fma_patterns_wide.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90901.346618.patch
Type: text/x-patch
Size: 22351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210520/011261f2/attachment.bin>


More information about the llvm-commits mailing list