[DAGCombiner] Add an option to control whether or not to enable store merging.
authorWei Mi <wmi@google.com>
Tue, 30 Jul 2019 23:14:56 +0000 (23:14 +0000)
committerWei Mi <wmi@google.com>
Tue, 30 Jul 2019 23:14:56 +0000 (23:14 +0000)
commit888efda2808ce27da564565219956656d816023d
tree59f3bcfa7f90eebf157274597263a57609093931
parent6c3c9483e716ea243f407031fcd5615335e63276
[DAGCombiner] Add an option to control whether or not to enable store merging.

Add an option to control whether or not to enable store merging in dag combiner
so we can workaround some bugs more easily.

Differential Revision: https://reviews.llvm.org/D65482

llvm-svn: 367365
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp