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 | 32a81a3f6d75c5343e7df65ce5d228f2128ca943 (patch) | |
tree | fa4c4d4b3387abafbb90850cc3f08cc49b96109f /lib/MC/MCContext.cpp | |
parent | cd58c5940cfe87030aeaaa49ef56ed2797b35baa (diff) |
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/MC/MCContext.cpp')
0 files changed, 0 insertions, 0 deletions