[all-commits] [llvm/llvm-project] 383eb0: [AArch64][GISel] Use Register instead of MCRegiste...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Jan 16 07:01:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 383eb0ba1ead7397dc633cbfa328eab254780784
      https://github.com/llvm/llvm-project/commit/383eb0ba1ead7397dc633cbfa328eab254780784
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-01-16 (Thu, 16 Jan 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp

  Log Message:
  -----------
  [AArch64][GISel] Use Register instead of MCRegister for markPhysRegUsed in CallLowering. (#122853)

For "returned" attribute arguments, the physical register is really a
virtual register which shouldn't be stored in an MCRegister. This
patch moves the conversion from Register to MCRegister into the derived
classes of IncomingArgHandler. The derived class
ReturnedArgCallReturnHandler
does not use the register so no MCRegister is created in that case.
The function and argument have been renamed to remove "Phys".



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