[all-commits] [llvm/llvm-project] 9c64f0: [PowerPC] Legalize saturating vector add/sub

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Wed Jan 15 05:01:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c64f04df8ecbcad2c527c33f5ef8a7993842001
      https://github.com/llvm/llvm-project/commit/9c64f04df8ecbcad2c527c33f5ef8a7993842001
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrAltivec.td
    A llvm/test/CodeGen/PowerPC/saturating-intrinsics.ll

  Log Message:
  -----------
  [PowerPC] Legalize saturating vector add/sub

These intrinsics and the corresponding ISD nodes were recently added. PPC has
instructions that do this for vectors. Legalize them and add patterns to emit
the satuarting instructions.

Differential revision: https://reviews.llvm.org/D71940




More information about the All-commits mailing list