[all-commits] [llvm/llvm-project] 14c639: [CIR] Implement CXXRewrittenBinaryOperator for LVa...

Aman Maurya via All-commits all-commits at lists.llvm.org
Tue Sep 22 09:54:58 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14c63920e71748a1f0b824919822a87e6efda343
      https://github.com/llvm/llvm-project/commit/14c63920e71748a1f0b824919822a87e6efda343
  Author: Aman Maurya <amanmaurya9209 at gmail.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenFunction.cpp
    M clang/test/CIR/CodeGen/cxx-rewritten-binary-operator.cpp

  Log Message:
  -----------
  [CIR] Implement CXXRewrittenBinaryOperator for LValue (#223888)

Support `CXXRewrittenBinaryOperator` in `CIRGenFunction::emitLValue` by
evaluating its underlying semantic form via `getSemanticForm()`,
matching classic codegen in `clang/lib/CodeGen/CGExpr.cpp` and
completing `CXXRewrittenBinaryOperator` support across all CIR
expression emitters.

Fixes #223743

Formatted with Gemini



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