[all-commits] [llvm/llvm-project] 49476a: [ARM] Add MVE lowering for fptosi.sat

David Green via All-commits all-commits at lists.llvm.org
Wed Sep 1 14:39:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49476a4d66b3c46af3d3c750e9def21f93da52bc
      https://github.com/llvm/llvm-project/commit/49476a4d66b3c46af3d3c750e9def21f93da52bc
  Author: David Green <david.green at arm.com>
  Date:   2021-09-01 (Wed, 01 Sep 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMInstrMVE.td
    M llvm/test/CodeGen/Thumb2/mve-fptosi-sat-vector.ll
    M llvm/test/CodeGen/Thumb2/mve-fptoui-sat-vector.ll

  Log Message:
  -----------
  [ARM] Add MVE lowering for fptosi.sat

This adds lowering of the llvm.fptosi.sat and llvm.fptoui.sat intinsics,
selecting a VCVT instruction which under MVE will inherently perform the
saturate.

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




More information about the All-commits mailing list