[all-commits] [llvm/llvm-project] 4c2727: [GlobalISel] Add Saturated Truncate Instructions (...

jyli0116 via All-commits all-commits at lists.llvm.org
Wed Jul 9 10:56:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c27279ec4c255b93a4cb3f044509121ebf01f10
      https://github.com/llvm/llvm-project/commit/4c27279ec4c255b93a4cb3f044509121ebf01f10
  Author: jyli0116 <yu.li at arm.com>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M llvm/docs/GlobalISel/GenericOpcode.rst
    M llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
    M llvm/include/llvm/Support/TargetOpcodes.def
    M llvm/include/llvm/Target/GenericOpcodes.td
    M llvm/lib/CodeGen/MachineVerifier.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir
    M llvm/test/MC/ELF/mc-dump.s
    M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
    M llvm/test/TableGen/GlobalISelEmitter/GlobalISelEmitter.td

  Log Message:
  -----------
  [GlobalISel] Add Saturated Truncate Instructions (#147526)

Introduces saturated truncate instructions to Global ISel:
G_TRUNC_SSAT_S, G_TRUNC_SSAT_U, G_TRUNC_USAT_U. These were previously
introduced to SDAG to reduce redundant code.

The patch only initially introduces the instruction, a later patch will
follow to add combines and legalization for each instruction.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list