[all-commits] [llvm/llvm-project] 52a2e6: [clang][RISCV] Fix crash on VLS calling convention...

Brandon Wu via All-commits all-commits at lists.llvm.org
Wed Aug 20 01:39:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52a2e68fda7b4adbcd677fe77ac9eb4c48039ec9
      https://github.com/llvm/llvm-project/commit/52a2e68fda7b4adbcd677fe77ac9eb4c48039ec9
  Author: Brandon Wu <songwu0813 at gmail.com>
  Date:   2025-08-20 (Wed, 20 Aug 2025)

  Changed paths:
    M clang/include/clang/CodeGen/CGFunctionInfo.h
    M clang/lib/CodeGen/ABIInfo.cpp
    M clang/lib/CodeGen/ABIInfo.h
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/CodeGen/Targets/RISCV.cpp
    M clang/lib/CodeGen/Targets/Sparc.cpp
    M clang/lib/CodeGen/Targets/X86.cpp
    M clang/lib/CodeGen/Targets/XCore.cpp
    M clang/test/CodeGen/RISCV/riscv-vector-callingconv-llvm-ir.c
    M clang/test/CodeGen/RISCV/riscv-vector-callingconv-llvm-ir.cpp

  Log Message:
  -----------
  [clang][RISCV] Fix crash on VLS calling convention (#145489)

This patch handle struct of fixed vector and struct of array of fixed
vector correctly for VLS calling convention in EmitFunctionProlog,
EmitFunctionEpilog and EmitCall.

stack on: https://github.com/llvm/llvm-project/pull/147173



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