[all-commits] [llvm/llvm-project] e2b873: [CIR] Handle overlapping values in constant init e...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Wed Oct 22 16:32:52 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2b873abc719d7beb0d7bf75f445d52e8a069065
      https://github.com/llvm/llvm-project/commit/e2b873abc719d7beb0d7bf75f445d52e8a069065
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-10-22 (Wed, 22 Oct 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenExprConstant.cpp
    M clang/test/CIR/CodeGen/struct-init.cpp

  Log Message:
  -----------
  [CIR] Handle overlapping values in constant init expressions (#164508)

This adds handling for generating constant initializers in the case
where a value we are emitting overlaps with a previous constant, such as
can happen when initializing a structure with bitfields.



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