[all-commits] [llvm/llvm-project] 9e4514: [CodeGen] Fix element type for sret argument

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Dec 17 07:13:44 PST 2021


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

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

  Log Message:
  -----------
  [CodeGen] Fix element type for sret argument

Fix a mistake in 9bf917394eba3ba4df77cc17690c6d04f4e9d57f: sret
arguments use ConvertType, not ConvertTypeForMem, see the handling
in CodeGenTypes::GetFunctionType().

This fixes fp-matrix-pragma.c on s390x.




More information about the All-commits mailing list