OSDN Git Service

[InstCombine] move foldICmpShrConstConst() contents to foldICmpShrConst(); NFCI
authorSanjay Patel <spatel@rotateright.com>
Tue, 23 Aug 2016 21:25:13 +0000 (21:25 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 23 Aug 2016 21:25:13 +0000 (21:25 +0000)
commite9aa7e0db9533c49afeed005cddc670a7b7e325a
tree9df3fe91d6bb2b57a1e760a47d036f207017388f
parent87aa10ba09392efab57554bb0af1dc1c3b700eba
[InstCombine] move foldICmpShrConstConst() contents to foldICmpShrConst(); NFCI

There will only be 3 lines of code in foldICmpShrConst() when the cleanup is done,
so it doesn't make much sense to have a separate function for a single fold.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279575 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
lib/Transforms/InstCombine/InstCombineInternal.h