[PATCH] D110606: [X86][FP16] Fix a bug when Combine the FADD(A, FMA(B, C, 0)) to FMA(B, C, A).

LiuChen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 27 18:42:03 PDT 2021


LiuChen3 created this revision.
Herald added subscribers: pengfei, hiraditya.
LiuChen3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This bug was introduced by D109953 <https://reviews.llvm.org/D109953>. The operand order of generated FMA
is wrong.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110606

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/avx512fp16-combine-vfmac-fadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110606.375454.patch
Type: text/x-patch
Size: 5163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210928/43e46699/attachment.bin>


More information about the llvm-commits mailing list