diff options
author | Andrew Trick <atrick@apple.com> | 2013-07-13 06:20:06 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2013-07-13 06:20:06 +0000 |
commit | 0ae8c94f8fc4be1f21c7c966a8d367485f2ee333 (patch) | |
tree | ea7343c500582964f1cb036926b9bf5c7012824a /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 07025fe5e9533776dca6a64a017a64cd55e14958 (diff) | |
download | bcm5719-llvm-0ae8c94f8fc4be1f21c7c966a8d367485f2ee333.tar.gz bcm5719-llvm-0ae8c94f8fc4be1f21c7c966a8d367485f2ee333.zip |
LoopVectorize fix: LoopInfo must be valid when invoking utils like SCEVExpander.
In general, one should always complete CFG modifications first, update
CFG-based analyses, like Dominatores and LoopInfo, then generate
instruction sequences.
LoopVectorizer was creating a new loop, calling SCEVExpander to
generate checks, then updating LoopInfo. I just changed the order.
llvm-svn: 186241
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions