[all-commits] [llvm/llvm-project] 090e61: [CIR][NFC] Resolve various nits for builtin bit op...

Sirui Mu via All-commits all-commits at lists.llvm.org
Mon Jul 14 07:22:14 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 090e6125336f9a76ac8ed4af1290409967da6dff
      https://github.com/llvm/llvm-project/commit/090e6125336f9a76ac8ed4af1290409967da6dff
  Author: Sirui Mu <msrlancern at gmail.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/test/CIR/CodeGen/builtin_bit.cpp

  Log Message:
  -----------
  [CIR][NFC] Resolve various nits for builtin bit operations (#148378)

This patch contains fixes for various nits mentioned in #147200:

- This patch removes the `bit.` prefix in the op mnemonic. The operation
names now directly correspond to the builtin function names except for
`bswap` which is represented by `cir.byte_swap` for more clarity.

- Since all bit operations are `SameOperandsAndResultType`, this patch
updates their assembly format and avoids spelling out the operand type
twice.



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