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

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 4 21:38:09 PDT 2023


aeubanks added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp:111
+      } else {
+        errs() << "Function in CSV file at line " << It.line_number()
+               << " does not exist\n";
----------------
this should also have a test

you can reuse the `.ll` test but with a different `.csv` that contains a function name not in the module


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