[LIR] General refactoring to simplify code and the ease future code review
authorHaicheng Wu <haicheng@codeaurora.org>
Mon, 4 Jan 2016 21:43:14 +0000 (21:43 +0000)
committerHaicheng Wu <haicheng@codeaurora.org>
Mon, 4 Jan 2016 21:43:14 +0000 (21:43 +0000)
This is a resubmission of r256336 which was reverted in r256361. The issue was the lack of the invariant check of the memset value in processLooMemSet().

The original message:

Move several checks into isLegalStores. Also, delineate between those stores that are memset-able and those that are memcpy-able.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256783 91177308-0d34-0410-b5e6-96231b3b80d8


No differences found