[all-commits] [llvm/llvm-project] 75db7c: [SVE][CodeGen] Legalisation of integer -> floating...

kmclaughlin-arm via All-commits all-commits at lists.llvm.org
Thu Oct 1 02:45:15 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 75db7cf78ad5138e767b8d04c9a758009191ee0c
      https://github.com/llvm/llvm-project/commit/75db7cf78ad5138e767b8d04c9a758009191ee0c
  Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/test/CodeGen/AArch64/sve-split-fcvt.ll

  Log Message:
  -----------
  [SVE][CodeGen] Legalisation of integer -> floating point conversions

Splitting the operand of a scalable [S|U]INT_TO_FP results in a
concat_vectors operation where the operands are unpacked FP
scalable vectors (e.g. nxv2f32).
This patch adds custom lowering of concat_vectors which
checks that the number of operands is 2, and isel patterns
to match concat_vectors of scalable FP types with uzp1.

Reviewed By: efriedma, paulwalker-arm

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




More information about the All-commits mailing list