summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-04-22 16:11:16 +0000
committerDan Gohman <gohman@apple.com>2009-04-22 16:11:16 +0000
commit54fd2869a3b6d3e1d11a45b39c77953356c3476d (patch)
treeadecb5b26025a7132cb823c7b4e4c02bcaeed30e /llvm/lib/Analysis/ScalarEvolution.cpp
parent9dd9a45e129caf7813eee690e2df06871591f43c (diff)
downloadbcm5719-llvm-54fd2869a3b6d3e1d11a45b39c77953356c3476d.tar.gz
bcm5719-llvm-54fd2869a3b6d3e1d11a45b39c77953356c3476d.zip
SCEVExpander's InsertCastOfTo knows how to move existing cast
instructions in order to avoid inserting new ones. However, if the cast instruction is the SCEVExpander's InsertPt, this causes subsequently emitted instructions to be inserted near the cast, and not at the location of the original insert point. Fix this by adjusting the insert point in such cases. This fixes PR4009. llvm-svn: 69808
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud