OSDN Git Service

When expanding expressions which are using post-inc mode for multiple loops,
authorDan Gohman <gohman@apple.com>
Thu, 8 Apr 2010 05:57:57 +0000 (05:57 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 8 Apr 2010 05:57:57 +0000 (05:57 +0000)
commit701a4aef7fa0ece4dc1fdbc88b981820564cb4e4
tree42e8019595b982abefb76583f62dfa37bda9cbab
parent4038f9c21b17378617c25f3092fe615326f8b874
When expanding expressions which are using post-inc mode for multiple loops,
ensure that the expansion is dominated by the increments of those loops.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100748 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/CodeGen/X86/multiple-loop-post-inc.ll