[all-commits] [llvm/llvm-project] 0444d1: [GlobalISel] Add generic opcodes for saturating ad...

jayfoad via All-commits all-commits at lists.llvm.org
Mon Mar 23 08:17:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0444d16a16cb38a2dd8fa2cf86c7dd8859ae1d2a
      https://github.com/llvm/llvm-project/commit/0444d16a16cb38a2dd8fa2cf86c7dd8859ae1d2a
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M llvm/docs/GlobalISel/GenericOpcode.rst
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    A llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-sat.ll

  Log Message:
  -----------
  [GlobalISel] Add generic opcodes for saturating add/subtract

Summary:
Add new generic MIR opcodes G_SADDSAT etc. Add support in IRTranslator
for translating the saturating add/subtract intrinsics to the new
opcodes.

Reviewers: aemerson, dsanders, paquette, arsenm

Subscribers: jvesely, wdng, nhaehnle, rovka, hiraditya, volkan, kerbowa, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list