Skip to content

Commit cf2dbb6

Browse files
author
Razvan Lupusoru
committed
Fix formatting and remove useless comment
1 parent 156cc69 commit cf2dbb6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mlir/test/lib/Dialect/OpenACC/TestPointerLikeTypeInterface.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,8 @@ void TestPointerLikeTypeInterfacePass::testGenFree(Operation *op, Value result,
232232

233233
// Call the genFree API
234234
auto typedResult = cast<TypedValue<PointerLikeType>>(result);
235-
// In this test context, we don't have the allocation result, so pass the result itself
236-
bool success =
237-
pointerType.genFree(newBuilder, loc, typedResult, result, result.getType());
235+
bool success = pointerType.genFree(newBuilder, loc, typedResult, result,
236+
result.getType());
238237

239238
if (success) {
240239
llvm::errs() << "Successfully generated free for operation: ";

0 commit comments

Comments
 (0)