[all-commits] [llvm/llvm-project] 9f15fc: [ARM] Replace arm_neon_vqadds with sadd_sat

David Green via All-commits all-commits at lists.llvm.org
Wed Nov 27 05:33:06 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f15fcc2718f95f1dac9e6e57aa93d84e9709930
      https://github.com/llvm/llvm-project/commit/9f15fcc2718f95f1dac9e6e57aa93d84e9709930
  Author: David Green <david.green at arm.com>
  Date:   2019-11-27 (Wed, 27 Nov 2019)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/arm-v8.1a-neon-intrinsics.c
    M clang/test/CodeGen/arm_neon_intrinsics.c
    M llvm/include/llvm/IR/IntrinsicsARM.td
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMInstrNEON.td
    M llvm/test/CodeGen/ARM/addsubo-legalization.ll
    M llvm/test/CodeGen/ARM/neon-v8.1a.ll
    A llvm/test/CodeGen/ARM/neon-vqaddsub-upgrade.ll
    M llvm/test/CodeGen/ARM/vmul.ll
    M llvm/test/CodeGen/ARM/vqadd.ll
    M llvm/test/CodeGen/ARM/vqdmul.ll
    M llvm/test/CodeGen/ARM/vqsub.ll

  Log Message:
  -----------
  [ARM] Replace arm_neon_vqadds with sadd_sat

This replaces the A32 NEON vqadds, vqaddu, vqsubs and vqsubu intrinsics
with the target independent sadd_sat, uadd_sat, ssub_sat and usub_sat.
This helps generate vqadds from standard IR nodes, which might be
produced from the vectoriser. The old variants are removed in the
process.

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




More information about the All-commits mailing list