[all-commits] [llvm/llvm-project] 960cbc: [DAGCombine] Remove dead node when it is created b...

QingShan Zhang via All-commits all-commits at lists.llvm.org
Sun Aug 23 19:55:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 960cbc53ca170c8c605bf83fa63b49ab27a56f65
      https://github.com/llvm/llvm-project/commit/960cbc53ca170c8c605bf83fa63b49ab27a56f65
  Author: QingShan Zhang <qshanz at cn.ibm.com>
  Date:   2020-08-24 (Mon, 24 Aug 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    A llvm/test/CodeGen/X86/pr46877.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list