[all-commits] [llvm/llvm-project] 53f053: [CodeGen] Use correct element type for store to sret

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Dec 23 04:03:11 PST 2021


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

  Changed paths:
    M clang/lib/CodeGen/CGCall.cpp

  Log Message:
  -----------
  [CodeGen] Use correct element type for store to sret

sret is special in that it does not use the memory type
representation. Manually construct the LValue using ConvertType
instead of ConvertTypeForMem here.

This fixes matrix-lowering-opt-levels.c on s390x.




More information about the All-commits mailing list