[all-commits] [llvm/llvm-project] ba31cb: [CodeGen] Store element type in RValue

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Dec 17 00:08:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba31cb4d388098e01df226090db95aaf8c06d271
      https://github.com/llvm/llvm-project/commit/ba31cb4d388098e01df226090db95aaf8c06d271
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M clang/lib/CodeGen/CGValue.h

  Log Message:
  -----------
  [CodeGen] Store element type in RValue

For aggregates, we need to store the element type to be able to
reconstruct the aggregate Address. This increases the size of this
packed structure (as the second value is already used for alignment
in this case), but I did not observe any compile-time or memory
usage regression from this change.




More information about the All-commits mailing list