[all-commits] [llvm/llvm-project] c0e8b2: [CIR][NFC] Align emitLValue with classic codegen (...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Tue Jun 9 09:55:07 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0e8b29f009bf504b9aafe1f39a539a4f68ca60c
      https://github.com/llvm/llvm-project/commit/c0e8b29f009bf504b9aafe1f39a539a4f68ca60c
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenFunction.cpp

  Log Message:
  -----------
  [CIR][NFC] Align emitLValue with classic codegen (#202448)

This reorganizes the `CIRGenFunction::emitLValue` function to align it
with `CodeGenFunction::EmitLValueHelper` in classic codegen. Previously,
the default handler for the switch statement reported an NYI diagnostic
for any l-value class that wasn't handled in the function. This change
adds case handlers for every class that is handled by classic codegen,
giving each their own NYI diagnostic.

The purpose of this is to more explicitly show what is missing and to
make it easier to port the classic codegen implementation to CIR.

The existing CIR handling is not changed, just the order.



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