HomePhabricator

[DAGCombine] Remove dead node when it is created by getNegatedExpression
4d16d8dfe50eUnpublished

Authored by steven.zhang on Aug 23 2020, 7:50 PM.

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

[DAGCombine] Remove dead node when it is created by getNegatedExpression

We hit the compiling time reported by https://bugs.llvm.org/show_bug.cgi?id=46877
and the reason is the same as D77319. So we need to remove the dead node we created
to avoid increase the problem size of DAGCombiner.

Reviewed By: Spatel

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

(cherry picked from commit 960cbc53ca170c8c605bf83fa63b49ab27a56f65)

Details

Committed
hansAug 25 2020, 8:51 AM
Parents
rG45574524c3a1: OpenMP: Fix for PR46868: Incorrect target map
Branches
Unknown
Tags
Unknown