]> granicus.if.org Git - llvm/commit
Merging r324916:
authorHans Wennborg <hans@hanshq.net>
Mon, 19 Feb 2018 15:20:11 +0000 (15:20 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 19 Feb 2018 15:20:11 +0000 (15:20 +0000)
commite0d9119c7a356cc4c7ab17b6a112160902bd3277
tree36c6ad44cb321f19804fa45317a6f38f8a197be4
parent359e6a40497597a9b79191d3d31bd47761eb08a9
Merging r324916:
------------------------------------------------------------------------
r324916 | junbuml | 2018-02-12 18:56:55 +0100 (Mon, 12 Feb 2018) | 7 lines

[LICM] update BlockColors after splitting predecessors

Update BlockColors after splitting predecessors. Do not allow splitting
EHPad for sinking when the BlockColors is not empty, so we can
simply assign predecessor's color to the new block.

Fixes PR36184
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@325507 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LICM.cpp
test/Transforms/LICM/sinking.ll