]> granicus.if.org Git - llvm/commit
Merging r321789:
authorHans Wennborg <hans@hanshq.net>
Tue, 16 Jan 2018 15:00:51 +0000 (15:00 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 16 Jan 2018 15:00:51 +0000 (15:00 +0000)
commitdcef4a7cd5d513eaa65a00ccd1d1ef93c2e9a43f
treed10e95eaeb7b08d270738134bcab92487f4f759c
parent7f2e3d00cf4a72c69111765f87a467cd28026fb9
Merging r321789:
------------------------------------------------------------------------
r321789 | hiraditya | 2018-01-03 23:47:24 -0800 (Wed, 03 Jan 2018) | 8 lines

[GVNHoist] Fix: PR35222 gvn-hoist incorrectly erases load in case of a loop

Reviewers:
    dberlin
    sebpop
    eli.friedman

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@322558 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVNHoist.cpp
test/Transforms/GVNHoist/pr35222-hoist-load.ll