OSDN Git Service

An instruction in a loop is not guaranteed to be executed just because the loop
authorNick Lewycky <nicholas@mxc.ca>
Tue, 1 May 2012 04:03:01 +0000 (04:03 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 1 May 2012 04:03:01 +0000 (04:03 +0000)
commit4056a73638d3019cbd153679361411d5595f50c9
tree2e468da0a3b3f7e2faa3007233382f62101d7333
parent973f72a29aeafb1fdc4f8dafc3f6c6651cbb0c99
An instruction in a loop is not guaranteed to be executed just because the loop
has no exit blocks. Fixes PR12706!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155884 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LICM.cpp
test/Transforms/LICM/speculate.ll