diff options
author | Dan Gohman <gohman@apple.com> | 2009-06-24 14:31:06 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-06-24 14:31:06 +0000 |
commit | 929fa7b0f4b6f57ecabb57ac1010dce84a4c8f31 (patch) | |
tree | faee6cb5797b278f1b279db81fb2a8e821b5fbeb /llvm/lib/CompilerDriver/CompilationGraph.cpp | |
parent | cfe762641337bf3b15324a0b70275d51ef234d90 (diff) | |
download | llvm-929fa7b0f4b6f57ecabb57ac1010dce84a4c8f31.zip llvm-929fa7b0f4b6f57ecabb57ac1010dce84a4c8f31.tar.gz llvm-929fa7b0f4b6f57ecabb57ac1010dce84a4c8f31.tar.bz2 |
When inserting code into a loop preheader, insert it before the
terminator, instead of after the last phi. This fixes a bug
exposed by ScalarEvolution analyzing more kinds of loops.
This fixes PR4436.
llvm-svn: 74072
Diffstat (limited to 'llvm/lib/CompilerDriver/CompilationGraph.cpp')
0 files changed, 0 insertions, 0 deletions