[all-commits] [llvm/llvm-project] 76656e: [X86][FP16] Combine the FADD(A, FMA(B, C, 0)) to F...
MorningLiu via All-commits
all-commits at lists.llvm.org
Thu Sep 23 00:37:31 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 76656ec8ec535bd17afc998112a83c7c55ad7719
https://github.com/llvm/llvm-project/commit/76656ec8ec535bd17afc998112a83c7c55ad7719
Author: Liu, Chen3 <chen3.liu at intel.com>
Date: 2021-09-23 (Thu, 23 Sep 2021)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/avx512fp16-combine-vfmac-fadd.ll
Log Message:
-----------
[X86][FP16] Combine the FADD(A, FMA(B, C, 0)) to FMA(B, C, A)
This patch is to support transform something like
_mm512_add_ph(acc, _mm512_fmadd_pch(a, b, _mm512_setzero_ph()))
to _mm512_fmadd_pch(a, b, acc).
Differential Revision: https://reviews.llvm.org/D109953
More information about the All-commits
mailing list