[all-commits] [llvm/llvm-project] f42bc8: [AsmWriter] Simplify type attribute printing (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jul 7 13:54:31 PDT 2021


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

  Changed paths:
    M llvm/lib/IR/AsmWriter.cpp

  Log Message:
  -----------
  [AsmWriter] Simplify type attribute printing (NFC)

Avoid enumerating all supported type attributes, instead fetch
their name from the attribute kind.




More information about the All-commits mailing list