HomePhabricator

[SelectionDAG] Remove unused FP constant in getNegatedExpression

Authored by qiucf on Sep 15 2020, 2:59 AM.

Description

[SelectionDAG] Remove unused FP constant in getNegatedExpression

960cbc53 immediately removes nodes that won't be used to avoid
compilation time explosion. This patch adds the removal to constants to
fix PR47517.

Reviewed By: RKSimon, steven.zhang

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