[AARCH64][NEON] Allow to sink operands for aarch64_neon_pmull
authorSunho Kim <ksunhokim123@gmail.com>
Thu, 3 Feb 2022 16:46:49 +0000 (16:46 +0000)
committerDavid Green <david.green@arm.com>
Thu, 3 Feb 2022 16:46:49 +0000 (16:46 +0000)
commit44601f4956062bee5fc2b481963ff06d24422767
tree7d45855dc046f4d1339e6b20da8e19b0789b12b0
parent6cda6d2f61a61779c5c8680d19d4d5bfe773ab41
[AARCH64][NEON] Allow to sink operands for aarch64_neon_pmull

This teaches AArch64TargetLowering::shouldSinkOperands to sink the
operands of aarch64_neon_pmull intrinsic.

Differential Revision: https://reviews.llvm.org/D117944
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/neon-vmull-high-p8.ll [new file with mode: 0644]
llvm/test/Transforms/CodeGenPrepare/AArch64/sink-free-instructions.ll