[all-commits] [llvm/llvm-project] 62180d: [RISCV] Reduce the interface to RISCVCCAssignFn. N...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Sep 6 09:28:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62180dfd8d86af92219662d0cdb01672d801f86f
      https://github.com/llvm/llvm-project/commit/62180dfd8d86af92219662d0cdb01672d801f86f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-09-06 (Fri, 06 Sep 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp
    M llvm/lib/Target/RISCV/RISCVCallingConv.cpp
    M llvm/lib/Target/RISCV/RISCVCallingConv.h
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Reduce the interface to RISCVCCAssignFn. NFC (#107503)

DataLayout, ABI, and TargetLowering can all be obtained via the
MachineFunction reference in the State object. This is how the targets
that use TableGen for CC handlers get these objects.

This might be a little slower, but it simplies all the callers in
SelectionDAG and GlobalISel.



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