[canonicalization] Refactor how we create new stores into a helper
authorChandler Carruth <chandlerc@gmail.com>
Wed, 21 Jan 2015 23:45:01 +0000 (23:45 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 21 Jan 2015 23:45:01 +0000 (23:45 +0000)
commit2135b97d8f4d2883f1b15ce27c1cf462b79605d3
tree7731bbfb446eb314d67fb55cb039d8cf55d0f4e9
parent5fa0fb23ca5d59ded052e260cb0a1969a4421acd
[canonicalization] Refactor how we create new stores into a helper
function. This is a bit tidier anyways and will make a subsquent patch
simpler as I want to add another case to this combine.

llvm-svn: 226746
llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp