[all-commits] [llvm/llvm-project] 56d923: [SPE] Support constrained float operations on SPE

Qiu Chaofan via All-commits all-commits at lists.llvm.org
Thu Apr 29 01:34:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56d923efdb692bf2d459203692b164d54f4ffe48
      https://github.com/llvm/llvm-project/commit/56d923efdb692bf2d459203692b164d54f4ffe48
  Author: Qiu Chaofan <qiucofan at cn.ibm.com>
  Date:   2021-04-29 (Thu, 29 Apr 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.td
    M llvm/lib/Target/PowerPC/PPCInstrSPE.td
    A llvm/test/CodeGen/PowerPC/fp-strict-fcmp-spe.ll
    M llvm/test/CodeGen/PowerPC/fp-strict.ll

  Log Message:
  -----------
  [SPE] Support constrained float operations on SPE

This patch enables support on SPE for constrained arithmetic and
comparison operations. This fixes bugzilla 50070.

One thing not covered is fcmp vs. fcmps on SPE. Some condition code
generates singaling comparison while some not. In this patch, all are
considered as singaling. So there might be still some issue when
compiling from C code.

Reviewed By: jhibbits

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




More information about the All-commits mailing list