The code in DAGCombiner::replaceStoreChain and CombineTo do not properly handle store operations with pre/post increment.
This causes assertion in CombineTo call: assert(N->getNumValues() == NumTo && "Broken CombineTo call!"). In addition, replaceStoreChain might replace a store with pre-increment with an unindexed store which accesses the wrong base ptr, causing incorrect code to be generated.
The '// Chain' does not add anything here.