[all-commits] [llvm/llvm-project] ccfc07: [AArch64][GlobalISel] Legalize scalar G_SSUBSAT + ...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Fri Aug 13 09:12:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccfc07904769ddda54c9e9d5588b88e03ccc015b
      https://github.com/llvm/llvm-project/commit/ccfc07904769ddda54c9e9d5588b88e03ccc015b
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-08-13 (Fri, 13 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/legalize-saddsat.mir
    A llvm/test/CodeGen/AArch64/GlobalISel/legalize-ssubsat.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Legalize scalar G_SSUBSAT + G_SADDSAT

These are lowered, matching SDAG behaviour. (See
llvm/test/CodeGen/AArch64/ssub_sat.ll and llvm/test/CodeGen/AArch64/sadd_sat.ll)

These fall back ~159 times on a build of clang with GISel enabled.

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




More information about the All-commits mailing list