HomePhabricator

[SVE][CodeGen] Lower scalable fp_extend & fp_round operations

Authored by kmclaughlin on Oct 1 2020, 3:06 AM.

Description

[SVE][CodeGen] Lower scalable fp_extend & fp_round operations

This patch adds FP_EXTEND_MERGE_PASSTHRU & FP_ROUND_MERGE_PASSTHRU
ISD nodes, used to lower scalable vector fp_extend/fp_round operations.
fp_round has an additional argument, the 'trunc' flag, which is an integer of zero or one.

This also fixes a warning introduced by the new tests added to sve-split-fcvt.ll,
resulting from an implicit TypeSize -> uint64_t cast in SplitVecOp_FP_ROUND.

Reviewed By: sdesmalen, paulwalker-arm

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

Details

Committed
kmclaughlinOct 1 2020, 4:17 AM
Reviewer
sdesmalen
Differential Revision
D88321: [SVE][CodeGen] Lower scalable fp_extend & fp_round operations
Parents
rGa81b938b6dee: [mlir][Linalg] Fix ASAN bug
Branches
Unknown
Tags
Unknown