[all-commits] [llvm/llvm-project] 16d969: [PowerPC] Use ArrayRef (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Nov 13 16:22:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16d969ca8a42dbfb4b367ef710132b2a274893b6
      https://github.com/llvm/llvm-project/commit/16d969ca8a42dbfb4b367ef710132b2a274893b6
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-13 (Sun, 13 Nov 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.h

  Log Message:
  -----------
  [PowerPC] Use ArrayRef (NFC)

This patch teaches getStoreOpcodesForSpillArray and
getLoadOpcodesForSpillArray to return ArrayRef.  This way,
isLoadFromStackSlot and isStoreToStackSlot can use llvm::is_contained.




More information about the All-commits mailing list