HomePhabricator

[FPEnv][ARM] Don't call mutateStrictFPToFP when lowering

Authored by john.brawn on Feb 17 2020, 8:55 AM.

Description

[FPEnv][ARM] Don't call mutateStrictFPToFP when lowering

mutateStrictFPToFP can delete the node and replace it with another with the same
value which can later cause problems, and returning the result of
mutateStrictFPToFP doesn't work because SelectionDAGLegalize expects that the
returned value has the same number of results as the original. Instead handle
things by doing the mutation manually.

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

(cherry picked from commit 594a89f7270da74c89f2321432bc6a7135773fa5)

Details

Committed
hansFeb 18 2020, 7:46 AM
Differential Revision
D74726: [FPEnv][ARM] Don't call mutateStrictFPToFP when lowering
Parents
rGb5d9a7e72faf: [AArch64][FPenv] Update chain of int to fp conversion
Branches
Unknown
Tags
Unknown