diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-23 18:37:11 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-23 18:37:11 +0000 |
commit | b846719663fb7f7847dacf956696ef257ab88d8e (patch) | |
tree | 30a2ef186a192fc5b9f64b0d23ed8df81f895b24 /lib/Transforms/Utils/CloneFunction.cpp | |
parent | 5a719fcb5ea91ec4e7af6fc2e48ec31774a859dd (diff) |
Ignore unreachable blocks when doing memory dependence analysis on non-local
loads. It's not really profitable and may result in GVN going into an infinite
loop when it hits constructs like this:
%x = gep %some.type %x, ...
Found via an LTO build of LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions