File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -5790,7 +5790,9 @@ class OMPReverseDirective final : public OMPLoopTransformationDirective {
57905790 explicit OMPReverseDirective (SourceLocation StartLoc, SourceLocation EndLoc)
57915791 : OMPLoopTransformationDirective(OMPReverseDirectiveClass,
57925792 llvm::omp::OMPD_reverse, StartLoc,
5793- EndLoc, 1 ) {}
5793+ EndLoc, 1 ) {
5794+ setNumGeneratedLoops (1 );
5795+ }
57945796
57955797 void setPreInits (Stmt *PreInits) {
57965798 Data->getChildren ()[PreInitsOffset] = PreInits;
@@ -5857,7 +5859,7 @@ class OMPInterchangeDirective final : public OMPLoopTransformationDirective {
58575859 : OMPLoopTransformationDirective(OMPInterchangeDirectiveClass,
58585860 llvm::omp::OMPD_interchange, StartLoc,
58595861 EndLoc, NumLoops) {
5860- setNumGeneratedLoops (3 * NumLoops);
5862+ setNumGeneratedLoops (NumLoops);
58615863 }
58625864
58635865 void setPreInits (Stmt *PreInits) {
You can’t perform that action at this time.
0 commit comments