Skip to content

Commit 095a557

Browse files
committed
Added a TODO for hanlding nontemporal inside atomic construct and addressed nit comments
1 parent bd814bd commit 095a557

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

flang/lib/Optimizer/OpenMP/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ add_flang_library(FlangOpenMPTransforms
1818
LINK_LIBS
1919
FIRAnalysis
2020
FIRBuilder
21-
FIRCodeGen
21+
FIRCodeGenDialect
2222
FIRDialect
2323
FIRDialectSupport
2424
FIRSupport

flang/lib/Optimizer/OpenMP/LowerNontemporal.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class LowerNontemporalPass
6363
fir::isPointerType((operand.getType())))) {
6464
operand = getBaseOperand(operand);
6565

66+
// TODO : Handling of nontemporal clause inside atomic construct
6667
if (llvm::is_contained(simdOp.getNontemporalVars(), operand)) {
6768
if (auto loadOp = llvm::dyn_cast<fir::LoadOp>(op))
6869
loadOp.setNontemporal(true);

0 commit comments

Comments
 (0)