aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CompilerDriver/CompilationGraph.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-24 14:31:06 +0000
committerDan Gohman <gohman@apple.com>2009-06-24 14:31:06 +0000
commit929fa7b0f4b6f57ecabb57ac1010dce84a4c8f31 (patch)
treefaee6cb5797b278f1b279db81fb2a8e821b5fbeb /llvm/lib/CompilerDriver/CompilationGraph.cpp
parentcfe762641337bf3b15324a0b70275d51ef234d90 (diff)
downloadllvm-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