HomePhabricator

[AArch64] Add some float -> int -> float conversion patterns

Authored by SjoerdMeijer on Mar 19 2021, 7:16 AM.

Description

[AArch64] Add some float -> int -> float conversion patterns

This adds some conversion match patterns for which we want to keep the int
values in FP registers using the corresponding NEON instructions (not the FP
instructions) to avoid more costly int <-> fp register transfers.

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