diff options
author | Eli Friedman <efriedma@quicinc.com> | 2019-05-14 23:01:19 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@quicinc.com> | 2019-05-14 23:01:19 +0000 |
commit | a0de66dd1731bd7f378e3c5079de9ff88b74af55 (patch) | |
tree | a28ee706be8d4e3f86f352b2dd8bf5d372d55f97 /polly/include | |
parent | a68ee931e647c22a54f6a31a0c5e5f96785a0506 (diff) | |
download | llvm-project-a0de66dd1731bd7f378e3c5079de9ff88b74af55.tar.gz |
[polly] Fix non-determinism in IslNodeBuilder.
The iteration order of OutsideLoopIterations matters for
IslNodeBuilder::getReferencesInSubtree, which inserts the values from
the map into a SetVector, which is eventually used to construct the
type of the context for parallel loops.
llvm-svn: 360723
Diffstat (limited to 'polly/include')
-rw-r--r-- | polly/include/polly/CodeGen/IslNodeBuilder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/include/polly/CodeGen/IslNodeBuilder.h b/polly/include/polly/CodeGen/IslNodeBuilder.h index 47bec726e73c..ac28af20a3d4 100644 --- a/polly/include/polly/CodeGen/IslNodeBuilder.h +++ b/polly/include/polly/CodeGen/IslNodeBuilder.h @@ -160,7 +160,7 @@ protected: /// /// This map provides for a given loop a llvm::Value that contains the current /// loop iteration. - LoopToScevMapT OutsideLoopIterations; + MapVector<const Loop *, const SCEV *> OutsideLoopIterations; // This maps an isl_id* to the Value* it has in the generated program. For now // on, the only isl_ids that are stored here are the newly calculated loop |