LSR needs to remember inserted instructions even in postinc mode, because
authorDan Gohman <gohman@apple.com>
Sat, 5 Jun 2010 00:33:07 +0000 (00:33 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 5 Jun 2010 00:33:07 +0000 (00:33 +0000)
commit25fcaff409f5c4c6da08f148ffb9404a71e8e4a7
tree8112887ebc51a77665435311292ab4e21b9125d5
parent88004c25c795dae031d22e5560cc4a0f98594e7c
LSR needs to remember inserted instructions even in postinc mode, because
there could be multiple subexpressions within a single expansion which
require insert point adjustment. This fixes PR7306.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105510 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolutionExpander.h
lib/Analysis/ScalarEvolutionExpander.cpp
test/CodeGen/X86/lsr-delayed-fold.ll