[all-commits] [llvm/llvm-project] 4b2cb1: [CIR] Upstream lowering of conditional operators t...

Morris Hafner via All-commits all-commits at lists.llvm.org
Tue Jun 3 04:29:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b2cb118bc5825c309724d536053c6f9817e2eb9
      https://github.com/llvm/llvm-project/commit/4b2cb118bc5825c309724d536053c6f9817e2eb9
  Author: Morris Hafner <mmha at users.noreply.github.com>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
    M clang/include/clang/CIR/MissingFeatures.h
    M clang/lib/CIR/CodeGen/CIRGenDecl.cpp
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    M clang/lib/CIR/CodeGen/CIRGenExprAggregate.cpp
    M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.h
    M clang/lib/CIR/CodeGen/CIRGenValue.h
    A clang/test/CIR/CodeGen/binop.c
    M clang/test/CIR/CodeGen/binop.cpp
    A clang/test/CIR/CodeGen/ternary.cpp

  Log Message:
  -----------
  [CIR] Upstream lowering of conditional operators to TernaryOp (#138156)

This patch adds visitors for BinLAnd, BinLOr and
AbstractConditionalOperator. Note that this patch still lacks visitation
of OpaqueValueExpr which is needed for the GNU ?: operator.

---------

Co-authored-by: Erich Keane <ekeane at nvidia.com>



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