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 | 4815a0efee67175bb11e09966247fc80afe4870a (patch) | |
tree | fa4c4d4b3387abafbb90850cc3f08cc49b96109f /lib/Analysis | |
parent | 85625696b9357fc4313a34de25fef95fc2c023f1 (diff) | |
download | external_llvm-4815a0efee67175bb11e09966247fc80afe4870a.zip external_llvm-4815a0efee67175bb11e09966247fc80afe4870a.tar.gz external_llvm-4815a0efee67175bb11e09966247fc80afe4870a.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74072 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
0 files changed, 0 insertions, 0 deletions