[PATCH] D155617: [WIP] GSoC 2023: Pass to annotate functions with appropriate optimization level.

Puneeth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 10:04:17 PDT 2023


Puneeth-A-R added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/FunctionAnnotator.cpp:20
+
+  auto BufferOrError = MemoryBuffer::getFileOrSTDIN(CSVFilePath);
+  if (!BufferOrError) {
----------------
@mtrofin Does this need to be closed? If so, how to go about doing it? From several examples that I saw, it seems this doesn't need to be closed.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155617/new/

https://reviews.llvm.org/D155617



More information about the llvm-commits mailing list