[all-commits] [llvm/llvm-project] 6ee375: [RISCV] Correct type lowering of struct of fixed-v...

Brandon Wu via All-commits all-commits at lists.llvm.org
Tue Jul 8 21:15:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ee375147b0b70cd44d06b83dc366c5862599280
      https://github.com/llvm/llvm-project/commit/6ee375147b0b70cd44d06b83dc366c5862599280
  Author: Brandon Wu <songwu0813 at gmail.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M clang/lib/CodeGen/Targets/RISCV.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:
  -----------
  [RISCV] Correct type lowering of struct of fixed-vector array in VLS (#147173)

Currently, struct of fixed-vector array is flattened and lowered to
scalable vector. However only struct of 1-element-fixed-vector array
should be lowered that way, struct of fixed-vector array of length >1
should be lowered to vector tuple type.

https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/418/files#diff-3a934f00cffdb3e509722753126a2cf6082a7648ab3b9ca8cbb0e84f8a6a12edR555-R558



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