[all-commits] [llvm/llvm-project] b52596: [CIR] Clean up enum attributes

Henrich Lauko via All-commits all-commits at lists.llvm.org
Fri Jun 20 01:59:39 PDT 2025


  Branch: refs/heads/users/xlauko/cir-enum-attrs
  Home:   https://github.com/llvm/llvm-project
  Commit: b52596a41e945ae2b2670378d82d00189a1427e2
      https://github.com/llvm/llvm-project/commit/b52596a41e945ae2b2670378d82d00189a1427e2
  Author: xlauko <xlauko at mail.muni.cz>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
    M clang/include/clang/CIR/Dialect/IR/CIROps.td

  Log Message:
  -----------
  [CIR] Clean up enum attributes

This mirrors incubator changes from https://github.com/llvm/clangir/pull/1678

- Create CIR specific EnumAttr bases and prefix enum attributes with CIR_ that automatically puts enum to cir namespace

- Removes unnecessary enum case definitions

- Unifies naming of enum values to use capitals consistently and make enumerations to start from 0



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list