[AArch64][SVE] Instcombine SDIV to ASRD
authorMatt Devereau <matthew.devereau@arm.com>
Thu, 9 Dec 2021 15:32:35 +0000 (15:32 +0000)
committerMatt Devereau <matthew.devereau@arm.com>
Tue, 14 Dec 2021 15:58:28 +0000 (15:58 +0000)
commitfb47725d1417f48898b7628c58e54c6a02754bf0
tree3ca90d7dc549b5d91a3512a4cd56e06196975234
parentc13524856bb304e6b4f80da7f5c5ecdc021920ee
[AArch64][SVE] Instcombine SDIV to ASRD

Instcombine SDIV to ASRD when the third operand of SDIV is a power of 2

Differential Revision: https://reviews.llvm.org/D115448
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-sdiv.ll [new file with mode: 0644]