OSDN Git Service

[DAG] Cleanup unused node in SimplifySelectCC.
authorNirav Dave <niravd@google.com>
Mon, 18 Mar 2019 17:02:38 +0000 (17:02 +0000)
committerNirav Dave <niravd@google.com>
Mon, 18 Mar 2019 17:02:38 +0000 (17:02 +0000)
commitd918576dc5ad47769f452f4863284b37f27455b8
treec66b7743282c2b9e731ba8aa730dc7331519dc2b
parent8aaaf73830cba78b5282341cc459b74696da39ec
[DAG] Cleanup unused node in SimplifySelectCC.

Delete temporarily constructed node uses for analysis after it's use,
holding onto original input nodes. Ideally this would be rewritten
without making nodes, but this appears relatively complex.

Reviewers: spatel, RKSimon, craig.topper

Subscribers: jdoerfert, hiraditya, deadalnix, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356382 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/xor.ll