[TargetLowering] Add depth limit to SimplifyMultipleUseDemandedBits
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 27 Jul 2019 12:23:36 +0000 (12:23 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 27 Jul 2019 12:23:36 +0000 (12:23 +0000)
commit3ff6126487ddc7636af83c70ee11a586d83ed59a
tree09320275072bba49ae2688d6b9538f763fec1691
parent6faac434ed6767c50b2bb3a9552982bcfb252dc8
[TargetLowering] Add depth limit to SimplifyMultipleUseDemandedBits

We're getting reports of massive compile time increases because SimplifyMultipleUseDemandedBits was losing track of the depth and not earlying-out. No repro yet, but consider this a pre-emptive commit.

llvm-svn: 367169
llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp