[all-commits] [llvm/llvm-project] 62847a: [CIR] Support zero/one result trivial operation lo...

Jiahao Guo via All-commits all-commits at lists.llvm.org
Thu Jun 11 20:28:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62847ab7593df144a5708406e6240ec5e8a3a101
      https://github.com/llvm/llvm-project/commit/62847ab7593df144a5708406e6240ec5e8a3a101
  Author: Jiahao Guo <eoonguo at gmail.com>
  Date:   2026-06-12 (Fri, 12 Jun 2026)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp

  Log Message:
  -----------
  [CIR] Support zero/one result trivial operation lower via tablegen (#203183)

### summary

Lower zero result operation have been supported in this PR:
https://github.com/llvm/llvm-project/pull/202273

In this PR, the lowering of operations with zero-result and one-result
is changed to be automatically lowered via TableGen. This helps reduce
the size of the file
`clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp`

#### test

I thought existing lower tests can cover this PR, so I didn't add more
tests.


Assisted-by: Claude Opus 4.8



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