diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-10-22 18:00:55 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-10-22 18:00:55 +0000 |
commit | e29c19091cca58db668407dfc5dd86c70e8b3d49 (patch) | |
tree | 8f8aa7e929d70010636a8233489ddd95501eb3a7 /lib/Transforms/Utils/PromoteMemoryToRegister.cpp | |
parent | e743942bc8f8b067e014b8cbd2a205a53c7c67f9 (diff) |
BBVectorize should ignore unreachable blocks.
Unreachable blocks can have invalid instructions. For example,
jump threading can produce self-referential instructions in
unreachable blocks. Also, we should not be spending time
optimizing unreachable code. Fixes PR14133.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166423 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/PromoteMemoryToRegister.cpp')
0 files changed, 0 insertions, 0 deletions