[PATCH] D91195: Add Annotation2MD pass to add !annotate metadata from llvm.global.annotations

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 16 07:17:21 PST 2020


fhahn marked an inline comment as done.
fhahn added a comment.

Thanks Jessica & Francis! I committed the initial version, with a small change to only run if the `!annotation` remarks are enabled.



================
Comment at: llvm/include/llvm/Transforms/IPO/Annotation2Metadata.h:1
+//===- SCCP.h - Sparse Conditional Constant Propagation ---------*- C++ -*-===//
+//
----------------
paquette wrote:
> Fix filename in comment?
Done in the final version, thanks!


================
Comment at: llvm/include/llvm/Transforms/IPO/Annotation2Metadata.h:20
+
+/// Pass to perform interprocedural constant propagation.
+class Annotation2MetadataPass : public PassInfoMixin<Annotation2MetadataPass> {
----------------
paquette wrote:
> Fix comment
Done in the final version, thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91195



More information about the cfe-commits mailing list