[PATCH] D148328: [IRGen] Change annotation metadata to support a tuple of strings.

Zain Jaffal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 04:42:40 PDT 2023


zjaffal created this revision.
zjaffal added a reviewer: fhahn.
Herald added subscribers: Enna1, StephenFan, wenlei, hiraditya.
Herald added a project: All.
zjaffal requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Currently annotation metadata can only support a tuple of strings. This patch adds the ability to insert a tuple of strings into the metadata array.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148328

Files:
  llvm/include/llvm/IR/Instruction.h
  llvm/lib/CodeGen/BasicBlockSections.cpp
  llvm/lib/CodeGen/MachineFunction.cpp
  llvm/lib/IR/Metadata.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  llvm/lib/Transforms/Scalar/AnnotationRemarks.cpp
  llvm/lib/Transforms/Utils/MemoryOpRemark.cpp
  llvm/test/Verifier/annotation-metadata.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148328.513546.patch
Type: text/x-patch
Size: 7509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230414/ccc5861b/attachment-0001.bin>


More information about the llvm-commits mailing list