commit | 278f958c61e973975bf63b7a82f3d8322ea16c00 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Feb 22 03:59:54 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Feb 22 03:59:54 2010 +0000 |
tree | f7d6053e91ae33afe8c3b62de9df2dc0dbb24f24 | |
parent | 2444080ca4f1f63d647272650aae874360c604cd [diff] |
When emitting an instruction which depends on both a post-incremented induction variable value and a loop-variant value, don't force the insert position to be at the post-increment position, because it may not be dominated by the loop-variant value. This fixes a use-before-def problem noticed on PPC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96774 91177308-0d34-0410-b5e6-96231b3b80d8