[all-commits] [llvm/llvm-project] 0bfb4c: [ARM] Add FP_ROUND handling to splitting MVE stores

David Green via All-commits all-commits at lists.llvm.org
Thu Jun 25 11:37:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bfb4c250684df2f00f1ccb76fdecac9678657d0
      https://github.com/llvm/llvm-project/commit/0bfb4c250684df2f00f1ccb76fdecac9678657d0
  Author: David Green <david.green at arm.com>
  Date:   2020-06-25 (Thu, 25 Jun 2020)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/test/CodeGen/Thumb2/mve-fp16convertloops.ll
    M llvm/test/CodeGen/Thumb2/mve-vcvt16.ll

  Log Message:
  -----------
  [ARM] Add FP_ROUND handling to splitting MVE stores

This splits MVE vector stores of a fp_trunc in the same way that we do
for standard trunc's. It extends PerformSplittingToNarrowingStores to
handle fp_round, splitting the store into pieces and adding a VCVTNb to
perform the actual fp_round. The actual store is then converted to an
integer store so that it can truncate bottom lanes of the result.

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




More information about the All-commits mailing list