[PATCH] D106008: [IR] Add elementtype attribute

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 14 12:54:31 PDT 2021


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

This implements the elementtype attribute specified in D105407 <https://reviews.llvm.org/D105407>. It just adds the attribute and the specified verifier rules, but doesn't yet make use of it anywhere.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106008

Files:
  llvm/include/llvm/AsmParser/LLToken.h
  llvm/include/llvm/Bitcode/LLVMBitCodes.h
  llvm/include/llvm/IR/Attributes.h
  llvm/include/llvm/IR/Attributes.td
  llvm/lib/AsmParser/LLLexer.cpp
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/lib/IR/Attributes.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/lib/Transforms/Utils/CodeExtractor.cpp
  llvm/test/Bitcode/attributes.ll
  llvm/test/Verifier/elementtype.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106008.358706.patch
Type: text/x-patch
Size: 7860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210714/165a853d/attachment.bin>


More information about the llvm-commits mailing list