Follow-up fix to r165928: handle memset rewriting for widened integers,
authorChandler Carruth <chandlerc@gmail.com>
Mon, 15 Oct 2012 10:24:40 +0000 (10:24 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 15 Oct 2012 10:24:40 +0000 (10:24 +0000)
commit94fc64c42fe27aa16dd5611eb3657ff0297801c8
treead6b5f27e03ea0c56e668476967d4ca145abdbe7
parentbb1078ea1370fd0cc32f52b1b53f0b245ded42e7
Follow-up fix to r165928: handle memset rewriting for widened integers,
and generally clean up the memset handling. It had rotted a bit as the
other rewriting logic got polished more.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165930 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SROA.cpp
test/Transforms/SROA/basictest.ll