aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2016-07-06 17:44:03 +0000
committerTim Shen <timshen91@gmail.com>2016-07-06 17:44:03 +0000
commit1c3c0afc53171996c2ab66655727550198bc2f26 (patch)
tree65a08efd28b518addc9855dfe71f9610367b076a /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentf8591cf2490f84108b84e99ac643a5daf65204f7 (diff)
downloadllvm-1c3c0afc53171996c2ab66655727550198bc2f26.zip
llvm-1c3c0afc53171996c2ab66655727550198bc2f26.tar.gz
llvm-1c3c0afc53171996c2ab66655727550198bc2f26.tar.bz2
[DAGCombiner] Fix visitSTORE to continue processing current SDNode, if findBetterNeighborChains doesn't actually CombineTo it.
Summary: findBetterNeighborChains may or may not find a better chain for each node it finds, which include the node ("St") that visitSTORE is currently processing. If no better chain is found for St, visitSTORE should continue instead of return SDValue(St, 0), as if it's CombinedTo'ed. This fixes bug 28130. There might be other ways to make the test pass (see D21409). I think both of the patches are fixing actual bugs revealed by the same testcase. Reviewers: echristo, wschmidt, hfinkel, kbarton, amehsan, arsenm, nemanjai, bogner Subscribers: mehdi_amini, nemanjai, llvm-commits Differential Revision: http://reviews.llvm.org/D21692 llvm-svn: 274644
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions