[all-commits] [llvm/llvm-project] 5d1464: [Attributes] Make type attribute handling more gen...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jul 12 11:49:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d1464cbfe907ba2e75fb97386164c1d30151f95
      https://github.com/llvm/llvm-project/commit/5d1464cbfe907ba2e75fb97386164c1d30151f95
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

  Changed paths:
    M llvm/include/llvm/IR/Attributes.h
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/IR/Attributes.cpp
    M llvm/utils/TableGen/Attributes.cpp

  Log Message:
  -----------
  [Attributes] Make type attribute handling more generic (NFCI)

Followup to 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.

Differential Revision: https://reviews.llvm.org/D105763




More information about the All-commits mailing list