[LIR] Sink checks into function to enable future refactoring. NFC.
authorChad Rosier <mcrosier@codeaurora.org>
Thu, 19 Nov 2015 18:22:21 +0000 (18:22 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Thu, 19 Nov 2015 18:22:21 +0000 (18:22 +0000)
commitbd71611f89f5fd4775e3f7b35e368f0241b0131d
tree52f4f97cc44cdf9524aa92f5b60bc21e7360dcf0
parenta6b4079da30ccade414444e89301021cb9485e47
[LIR] Sink checks into function to enable future refactoring. NFC.

The purpose of this change is help delineate the memset and memcpy
optimizations with the overall goal of resolving PR25520.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253585 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopIdiomRecognize.cpp