diff options
| author | Andrew Trick <atrick@apple.com> | 2011-07-16 00:59:39 +0000 |
|---|---|---|
| committer | Andrew Trick <atrick@apple.com> | 2011-07-16 00:59:39 +0000 |
| commit | 244e2c3e829ade2cd7f5854ad45f61c1523ddd40 (patch) | |
| tree | 5aa4eb57ed8277f868618d025d880c695f3bab0b /llvm/include | |
| parent | 4480040191ad49d18d445a93144db39aaf866190 (diff) | |
| download | bcm5719-llvm-244e2c3e829ade2cd7f5854ad45f61c1523ddd40.tar.gz bcm5719-llvm-244e2c3e829ade2cd7f5854ad45f61c1523ddd40.zip | |
Fix SCEVEXpander to handle arbitrary phi expansion. Includes two
related bug fixes and corresponding assertions for uninitialized data
and missing NULL check. Test cases will be included with the new LFTR.
llvm-svn: 135333
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/Analysis/ScalarEvolutionExpander.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h b/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h index 647a7dcf518..a8c03b2219e 100644 --- a/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h +++ b/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h @@ -72,8 +72,8 @@ namespace llvm { public: /// SCEVExpander - Construct a SCEVExpander in "canonical" mode. explicit SCEVExpander(ScalarEvolution &se, const char *name) - : SE(se), IVName(name), IVIncInsertLoop(0), CanonicalMode(true), - Builder(se.getContext(), TargetFolder(se.TD)) {} + : SE(se), IVName(name), IVIncInsertLoop(0), IVIncInsertPos(0), + CanonicalMode(true), Builder(se.getContext(), TargetFolder(se.TD)) {} /// clear - Erase the contents of the InsertedExpressions map so that users /// trying to expand the same expression into multiple BasicBlocks or |

