It is not safe to sink an alloca into a stacksave/stackrestore pair, so don't do...
authorEli Friedman <eli.friedman@gmail.com>
Thu, 27 Oct 2011 01:33:51 +0000 (01:33 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 27 Oct 2011 01:33:51 +0000 (01:33 +0000)
commit8ecde6cbf87cfa3184cec5a4eedb70b06dbb4a85
tree2a3e930351aeb386f3765a2cd1276d229f0289e6
parent6d64b3adab682aea9c0b4dd665acc5e863ac6d21
It is not safe to sink an alloca into a stacksave/stackrestore pair, so don't do that. <rdar://problem/10352360>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143093 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/IndVarSimplify.cpp
test/Transforms/IndVarSimplify/sink-alloca.ll