]> granicus.if.org Git - llvm/commit
Merging r295512:
authorHans Wennborg <hans@hanshq.net>
Tue, 21 Feb 2017 18:46:57 +0000 (18:46 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 21 Feb 2017 18:46:57 +0000 (18:46 +0000)
commiteb6d6dd6f6c820d6d6a42644bd7aaeca015e11a9
tree290fd24a58f07c94519b75e910616891557b15f8
parent292135cffdf4f943696f1344639aa645c898c6a2
Merging r295512:
------------------------------------------------------------------------
r295512 | matze | 2017-02-17 15:15:03 -0800 (Fri, 17 Feb 2017) | 8 lines

AArch64LoadStoreOptimizer: Correctly clear kill flags

When promoting the Load of a Store-Load pair to a COPY all kill flags
between the store and the load need to be cleared.

rdar://30402435

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_40@295744 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
test/CodeGen/AArch64/ldst-opt.mir