[all-commits] [llvm/llvm-project] b2bd02: [CGExprAgg] Don't create zero index GEP

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu May 30 02:47:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b2bd024384b484647da9fd9863bf6f77b5731949
      https://github.com/llvm/llvm-project/commit/b2bd024384b484647da9fd9863bf6f77b5731949
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
    M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp

  Log Message:
  -----------
  [CGExprAgg] Don't create zero index GEP

With opaque pointers, we no longer need a zero-index GEP to get
the first element.



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