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

Details

Committed
john.brawnFeb 17 2020, 10:19 AM
Differential Revision
D74726: [FPEnv][ARM] Don't call mutateStrictFPToFP when lowering
Parents
rG3eaa53e80543: Reapply "[IRBuilder] Virtualize IRBuilder"
Branches
Unknown
Tags
Unknown