[PATCH] D105763: [Attributes] Make type attribute handling more generic (NFCI)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 10 13:12:52 PDT 2021


nikic created this revision.
nikic added a reviewer: opaque-pointers.
Herald added subscribers: dexonsmith, jdoerfert, hiraditya.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Followup to D105658 <https://reviews.llvm.org/D105658> to make AttrBuilder automatically work with new type attributes. TableGen is tweaked to emit First/LastTypeAttr markers, based on which we can handle type attributes programmatically.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105763

Files:
  llvm/include/llvm/IR/Attributes.h
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/IR/Attributes.cpp
  llvm/utils/TableGen/Attributes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105763.357745.patch
Type: text/x-patch
Size: 8307 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210710/03e2f27e/attachment.bin>


More information about the llvm-commits mailing list