PR10987: add a missed safety check to isSafePHIToSpeculate in scalarrepl.
authorEli Friedman <eli.friedman@gmail.com>
Thu, 22 Sep 2011 18:56:30 +0000 (18:56 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 22 Sep 2011 18:56:30 +0000 (18:56 +0000)
commitd102a03b36fb522899cefc31a396c9793b929cf6
tree193b5081b0e6fa1c4cb40b4abf15d5f590ff40b0
parent5d8f43fddad852673f2c1fb9543500b542516cd1
PR10987: add a missed safety check to isSafePHIToSpeculate in scalarrepl.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140327 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/ScalarReplAggregates.cpp
test/Transforms/ScalarRepl/2011-09-22-PHISpeculateInvoke.ll [new file with mode: 0644]