[all-commits] [llvm/llvm-project] 48ea26: [SVE] Fixed custom lowering of ISD::INSERT_SUBVECTOR.

paulwalker-arm via All-commits all-commits at lists.llvm.org
Thu Jun 2 07:07:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48ea26a3878f6e45d4c29f09a1ef0e71301a08fd
      https://github.com/llvm/llvm-project/commit/48ea26a3878f6e45d4c29f09a1ef0e71301a08fd
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sve-insert-vector.ll

  Log Message:
  -----------
  [SVE] Fixed custom lowering of ISD::INSERT_SUBVECTOR.

LowerINSERT_SUBVECTOR emits AArch64ISD::UUNPK## when lowering
scalable vector floating point INSERT_SUBVECTOR. However, these
nodes only make sense for integer types and thus isel patterns do
not exist for floating point, which leads to isel failures.

This patch ensures floating point operands are cast to integer
before the core lowering takes place.

Fixes: #55037

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




More information about the All-commits mailing list