[all-commits] [llvm/llvm-project] 9f592c: [GISel] Pass MPO and VA to assignValueToAddress by...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Oct 24 09:58:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f592cbc18e13c918fe125c26ca881d303e0ff3d
      https://github.com/llvm/llvm-project/commit/9f592cbc18e13c918fe125c26ca881d303e0ff3d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
    M llvm/lib/Target/ARM/ARMCallLowering.cpp
    M llvm/lib/Target/M68k/GISel/M68kCallLowering.cpp
    M llvm/lib/Target/M68k/GISel/M68kCallLowering.h
    M llvm/lib/Target/Mips/MipsCallLowering.cpp
    M llvm/lib/Target/PowerPC/GISel/PPCCallLowering.cpp
    M llvm/lib/Target/PowerPC/GISel/PPCCallLowering.h
    M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
    M llvm/lib/Target/X86/GISel/X86CallLowering.cpp

  Log Message:
  -----------
  [GISel] Pass MPO and VA to assignValueToAddress by const reference. NFC (#69810)

Previously they were passed by non-const reference. No in tree target
modifies the values.

This makes it possible to call assignValueToAddress from
assignCustomValue without a const_cast. For example in this patch
https://github.com/llvm/llvm-project/pull/69138.




More information about the All-commits mailing list