[SVE] Lower fixed length vXi8/vXi16 SDIV to scalable
authorCameron McInally <mcinally@cray.com>
Thu, 20 Aug 2020 18:28:46 +0000 (13:28 -0500)
committerCameron McInally <mcinally@cray.com>
Thu, 20 Aug 2020 18:47:01 +0000 (13:47 -0500)
commitac6395946060d5ff0830cd63be92f7fc20945ec0
treea7aa00d8b8b6ee369b70f21cfe8db71f2e1d14ab
parentffadd30b31e79839ce286206a6b1fcffd072a682
[SVE] Lower fixed length vXi8/vXi16 SDIV to scalable

There are no nxv16i8/nxv8i16 SDIV instructions, so these fixed width operations must be promoted to nxv4i32.

Differential Revision: https://reviews.llvm.org/D86114
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/test/CodeGen/AArch64/sve-fixed-length-int-div.ll [new file with mode: 0644]