[TargetLowering] Add root node back to work list after successful SimplifyDemandedBit...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 10 Oct 2018 10:44:15 +0000 (10:44 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 10 Oct 2018 10:44:15 +0000 (10:44 +0000)
commit5cb3a82892ed66655849b49cd693c69f2139ec5c
tree50ffbc342b1166f2911b88524a9db4c4df403352
parentd227754973a4d4fd8b62798290c79a8be0ea4086
[TargetLowering] Add root node back to work list after successful SimplifyDemandedBits/SimplifyDemandedVectorElts

Similar to what already happens in the DAGCombiner wrappers, this patch adds the root nodes back onto the worklist if the DCI wrappers' SimplifyDemandedBits/SimplifyDemandedVectorElts were successful.

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

llvm-svn: 344132
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.cpp