]> granicus.if.org Git - llvm/commit
[X86][SSE] Early out from ComputeNumSignBitsForTargetNode. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 4 Oct 2017 13:41:26 +0000 (13:41 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 4 Oct 2017 13:41:26 +0000 (13:41 +0000)
commit0f51cc0c6a78adc1c6eb65374b7779e002c2ad86
tree29c4ffac5b829803ebf97e5f4ce145576939f39e
parent178d8a3378e8e35e98ea78cae46600ddaef4a4ee
[X86][SSE] Early out from ComputeNumSignBitsForTargetNode. NFCI.

Early out from vector shift by immediates that will exceed eltsize - don't bother making an unnecessary ComputeNumSignBits recursive call.

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