]> granicus.if.org Git - llvm/commit
Merging r323515:
authorHans Wennborg <hans@hanshq.net>
Tue, 30 Jan 2018 15:25:02 +0000 (15:25 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 30 Jan 2018 15:25:02 +0000 (15:25 +0000)
commit0ab6eba6b84235523cbb11f4c2a0b98016d1df75
treecdee1c056f59b5f52589f8b77da5fc150d3251d0
parent8a0e312d1af7d9556d93264aa3fa963486ab6d11
Merging r323515:
------------------------------------------------------------------------
r323515 | fhahn | 2018-01-26 11:36:50 +0100 (Fri, 26 Jan 2018) | 7 lines

[CallSiteSplitting] Fix infinite loop when recording conditions.

Fix infinite loop when recording conditions by correctly marking basic
blocks as visited.

Fixes https://bugs.llvm.org/show_bug.cgi?id=36105

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@323771 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/CallSiteSplitting.cpp
test/Transforms/CallSiteSplitting/callsite-no-splitting.ll