[all-commits] [llvm/llvm-project] d98e5e: [AIX] Remove unused vector registers from allocati...

Zarko Todorovski via All-commits all-commits at lists.llvm.org
Mon May 3 10:51:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d98e5e02adb5c37f892c51a6f1264179c5d32531
      https://github.com/llvm/llvm-project/commit/d98e5e02adb5c37f892c51a6f1264179c5d32531
  Author: Zarko Todorovski <zarko at ca.ibm.com>
  Date:   2021-05-03 (Mon, 03 May 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCCallingConv.td
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
    A llvm/test/CodeGen/PowerPC/aix-dfltabi-rsrvd-reg.ll

  Log Message:
  -----------
  [AIX] Remove unused vector registers from allocation order in the default AltiVec ABI

The previous implementation of the default AltiVec ABI marked registers V20-V31
as reserved.  This failed to prevent reserved VFRC registers being allocated.
In this patch instead of marking the registers reserved we remove unallowed
registers from the allocation order completely.

This is a slight rework of an implementation by @nemanjai

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D100050




More information about the All-commits mailing list