[all-commits] [llvm/llvm-project] 7515e8: [AArch64] Add some float -> int -> float conversio...

sjoerdmeijer via All-commits all-commits at lists.llvm.org
Mon Mar 22 04:06:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7515e81e8c58ca07ac5fede7149634c0dfacae8a
      https://github.com/llvm/llvm-project/commit/7515e81e8c58ca07ac5fede7149634c0dfacae8a
  Author: Sjoerd Meijer <sjoerd.meijer at arm.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    A llvm/test/CodeGen/AArch64/cvt-fp-int-fp.ll

  Log Message:
  -----------
  [AArch64] Add some float -> int -> float conversion patterns

This adds some conversion match patterns for which we want to keep the int
values in FP registers using the corresponding NEON instructions (not the FP
instructions) to avoid more costly int <-> fp register transfers.

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




More information about the All-commits mailing list