[all-commits] [llvm/llvm-project] 541322: [AttrBuilder] Add string attribute getter (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jan 18 03:20:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 541322540ea0e9e33dbe84db4a28ad4872a6a4cb
      https://github.com/llvm/llvm-project/commit/541322540ea0e9e33dbe84db4a28ad4872a6a4cb
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M llvm/include/llvm/IR/Attributes.h
    M llvm/lib/IR/Attributes.cpp
    M llvm/lib/IR/AutoUpgrade.cpp

  Log Message:
  -----------
  [AttrBuilder] Add string attribute getter (NFC)

This avoids the need to scan through td_attrs() in AutoUpgrade,
decoupling it from AttrBuilder implementation details.




More information about the All-commits mailing list