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

QingShan Zhang via All-commits all-commits at lists.llvm.org
Tue Aug 25 08:54:47 PDT 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d16d8dfe50eb45545e844c3c9acafd363637dad
      https://github.com/llvm/llvm-project/commit/4d16d8dfe50eb45545e844c3c9acafd363637dad
  Author: QingShan Zhang <qshanz at cn.ibm.com>
  Date:   2020-08-25 (Tue, 25 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

(cherry picked from commit 960cbc53ca170c8c605bf83fa63b49ab27a56f65)




More information about the All-commits mailing list