[all-commits] [llvm/llvm-project] f7516c: [CodeGen] Support arrays with initializers of 64-b...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri May 17 11:00:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7516c7f3f00fca7271056cc9abeda2da4687c17
      https://github.com/llvm/llvm-project/commit/f7516c7f3f00fca7271056cc9abeda2da4687c17
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-05-17 (Fri, 17 May 2024)

  Changed paths:
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/test/CodeGen/array-init.c

  Log Message:
  -----------
  [CodeGen] Support arrays with initializers of 64-bit size

Based on @OfekShochat's https://reviews.llvm.org/D133648

init.c is the primary test for array initialization, but it uses a
32-bit triple, which would lead to an "array is too large" error. Add
the new test to array-init.c instead.

Fix #57353

Pull Request: https://github.com/llvm/llvm-project/pull/92473



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