]> granicus.if.org Git - llvm/commit
Merging r310604:
authorHans Wennborg <hans@hanshq.net>
Fri, 11 Aug 2017 01:53:40 +0000 (01:53 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 11 Aug 2017 01:53:40 +0000 (01:53 +0000)
commit05ef777d840a0a53595401712fe0ccf5af9d9104
tree85e61898e04bd6c79b10184118c8934ead43cc1e
parentd10901a8debcb455e86ebb79fd1fd52b2c1f2d66
Merging r310604:
------------------------------------------------------------------------
r310604 | niravd | 2017-08-10 08:12:32 -0700 (Thu, 10 Aug 2017) | 13 lines

[X86] Keep dependencies when constructing loads in combineStore

Summary:
Preserve chain dependecies between old and new loads constructed to
prevent loads from reordering below later stores.

Fixes PR34088.

Reviewers: craig.topper, spatel, RKSimon, efriedma

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D36528
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_50@310678 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/pr34088.ll [new file with mode: 0644]