[all-commits] [llvm/llvm-project] 3d1f0c: [X86] Add combination for fma and fneg on X86 unde...

Pengfei Wang via All-commits all-commits at lists.llvm.org
Tue Jan 28 04:25:07 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d1f0ce3b9f88af85cf7a622a7514a3744a1dab7
      https://github.com/llvm/llvm-project/commit/3d1f0ce3b9f88af85cf7a622a7514a3744a1dab7
  Author: Wang, Pengfei <pengfei.wang at intel.com>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/lib/Target/X86/X86InstrAVX512.td
    M llvm/lib/Target/X86/X86InstrFMA.td
    M llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
    M llvm/test/CodeGen/X86/fp-intrinsics-fma.ll

  Log Message:
  -----------
  [X86] Add combination for fma and fneg on X86 under strict FP.

Summary: X86 has instructions to calculate fma and fneg at the same time. But we combine the fneg and fma only when fneg is the source operand under strict FP.

Reviewers: craig.topper, andrew.w.kaylor, uweigand, RKSimon, LiuChen3

Subscribers: LuoYuanke, llvm-commits, cfe-commits, jdoerfert, hiraditya

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72824




More information about the All-commits mailing list