commit | 1c201e976697f857662cef38d809d79a1d5bfe62 | [log] [tgz] |
---|---|---|
author | Haicheng Wu <haicheng@codeaurora.org> | Mon Jan 04 21:43:14 2016 +0000 |
committer | Haicheng Wu <haicheng@codeaurora.org> | Mon Jan 04 21:43:14 2016 +0000 |
tree | 41fbcb1ef00f68aa9ff45207e9823eb9eac84230 | |
parent | 472704020c5012f76f7e814de140613815955418 [diff] |
[LIR] General refactoring to simplify code and the ease future code review 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