[all-commits] [llvm/llvm-project] 7315d2: [PowerPC] Exploit vnmsubfp instruction

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Sun Jun 14 08:21:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7315d221a2bc3b838e29fb68b19b922c4447a23e
      https://github.com/llvm/llvm-project/commit/7315d221a2bc3b838e29fb68b19b922c4447a23e
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2020-06-14 (Sun, 14 Jun 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrAltivec.td
    M llvm/test/CodeGen/PowerPC/fma-negate.ll
    M llvm/test/CodeGen/PowerPC/recipest.ll

  Log Message:
  -----------
  [PowerPC] Exploit vnmsubfp instruction

On PowerPC, we have vnmsubfp Altivec instruction for fnmsub operation on
v4f32 type. Default pattern for this instruction never works since we
don't have legal fneg for v4f32 when VSX disabled.

Reviewed By: steven.zhang

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




More information about the All-commits mailing list