We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed8bed6 commit 49287c2Copy full SHA for 49287c2
flang/lib/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.cpp
@@ -359,7 +359,7 @@ getBaseRef(mlir::TypedValue<mlir::acc::PointerLikeType> varPtr) {
359
// to the declared memref.
360
if (auto storage = op.getStorage())
361
return storage;
362
- return op.getMemref();
+ return mlir::Value(varPtr);
363
})
364
.Case<hlfir::DesignateOp>([&](auto op) {
365
// Get the base object.
0 commit comments