File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1208,15 +1208,15 @@ class CIRGenFunction : public CIRGenTypeCache {
12081208 // keep track of the 'loop' so that we can add the cache vars to it correctly.
12091209 mlir::acc::LoopOp *activeLoopOp = nullptr ;
12101210
1211- struct ActiveLoopRAII {
1211+ struct ActiveOpenACCLoopRAII {
12121212 CIRGenFunction &cgf;
12131213 mlir::acc::LoopOp *oldLoopOp;
12141214
1215- ActiveLoopRAII (CIRGenFunction &cgf, mlir::acc::LoopOp *newOp)
1215+ ActiveOpenACCLoopRAII (CIRGenFunction &cgf, mlir::acc::LoopOp *newOp)
12161216 : cgf(cgf), oldLoopOp(cgf.activeLoopOp) {
12171217 cgf.activeLoopOp = newOp;
12181218 }
1219- ~ActiveLoopRAII () { cgf.activeLoopOp = oldLoopOp; }
1219+ ~ActiveOpenACCLoopRAII () { cgf.activeLoopOp = oldLoopOp; }
12201220 };
12211221
12221222public:
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ mlir::LogicalResult CIRGenFunction::emitOpenACCOpCombinedConstruct(
9595 builder.setInsertionPointToEnd (&innerBlock);
9696
9797 LexicalScope ls{*this , start, builder.getInsertionBlock ()};
98- ActiveLoopRAII activeLoop{*this , &loopOp};
98+ ActiveOpenACCLoopRAII activeLoop{*this , &loopOp};
9999
100100 res = emitStmt (loopStmt, /* useCurrentScope=*/ true );
101101
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ CIRGenFunction::emitOpenACCLoopConstruct(const OpenACCLoopConstruct &s) {
130130 mlir::OpBuilder::InsertionGuard guardCase (builder);
131131 builder.setInsertionPointToEnd (&block);
132132 LexicalScope ls{*this , start, builder.getInsertionBlock ()};
133- ActiveLoopRAII activeLoop{*this , &op};
133+ ActiveOpenACCLoopRAII activeLoop{*this , &op};
134134
135135 stmtRes = emitStmt (s.getLoop (), /* useCurrentScope=*/ true );
136136 builder.create <mlir::acc::YieldOp>(end);
You can’t perform that action at this time.
0 commit comments