[X86] resolveTargetShuffleInputs - add depth to limit recursion.
commit700cf38b3c991dc68d1d8cc1d1c9d6aa4c899a8a
authorSimon Pilgrim <lvm-dev@redking.me.uk>
Mon, 29 Jul 2019 17:17:58 +0000 (29 17:17 +0000)
committerSimon Pilgrim <lvm-dev@redking.me.uk>
Mon, 29 Jul 2019 17:17:58 +0000 (29 17:17 +0000)
treef827e4c174dc1c66e827f1f242b89499f4d6dc91
parent89153c00da270f597d1f0f588f296737b51ab0a4
[X86] resolveTargetShuffleInputs - add depth to limit recursion.

Avoids slow downs from calls to ComputeNumSignBits/computeKnownBits going too deep.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367240 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp