[all-commits] [llvm/llvm-project] a529b4: [RISCV] Fix inconsistent usage of ValVT and LocVT ...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue May 5 16:46:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a529b4ccc23df4b7c66c464539c05eabcea32020
      https://github.com/llvm/llvm-project/commit/a529b4ccc23df4b7c66c464539c05eabcea32020
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVCallingConv.cpp

  Log Message:
  -----------
  [RISCV] Fix inconsistent usage of ValVT and LocVT in CC_RISCV_Impl. NFCI (#195368)

I think all of our checks should be against LocVT. If LocVT is different
than ValVT, that means the location has already been changed and we
should be acting on that changed type. For the most part, I don't think
that happens for RISC-V.



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