[all-commits] [llvm/llvm-project] 361641: [CIR] Add cir.min op and refactor cir.max lowering...

Henrich Lauko via All-commits all-commits at lists.llvm.org
Sat Mar 14 11:34:07 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 361641d1ce7c0125173214bfc55fa61b91c47fb5
      https://github.com/llvm/llvm-project/commit/361641d1ce7c0125173214bfc55fa61b91c47fb5
  Author: Henrich Lauko <xlauko at mail.muni.cz>
  Date:   2026-03-14 (Sat, 14 Mar 2026)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/lib/CIR/Dialect/Transforms/CIRCanonicalize.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    A clang/test/CIR/Lowering/binop-int-vector.cir
    M clang/test/CIR/Lowering/binop-signed-int.cir
    M clang/test/CIR/Lowering/binop-unsigned-int.cir
    A clang/test/CIR/Transforms/max-min-idempotent.cir

  Log Message:
  -----------
  [CIR] Add cir.min op and refactor cir.max lowering (#185276)

Add cir.min operation for integer minimum computation. Refactor cir.max
lowering into a shared lowerMinMaxOp template reused by both ops.



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