Skip to content

Commit bfb590f

Browse files
committed
Added a comment in LowerNontemporal.cpp
1 parent b976685 commit bfb590f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flang/lib/Optimizer/OpenMP/LowerNontemporal.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ class LowerNontemporalPass
5959
else if (auto storeOp = llvm::dyn_cast<fir::StoreOp>(op))
6060
operand = storeOp.getMemref();
6161

62+
// Skip load and store operations involving boxes (allocatable or pointer
63+
// types).
6264
if (operand && !(fir::isAllocatableType(operand.getType()) ||
6365
fir::isPointerType((operand.getType())))) {
6466
operand = getBaseOperand(operand);

0 commit comments

Comments
 (0)