[PowerPC] Use ArrayRef (NFC)
authorKazu Hirata <kazu@google.com>
Mon, 14 Nov 2022 00:22:33 +0000 (16:22 -0800)
committerKazu Hirata <kazu@google.com>
Mon, 14 Nov 2022 00:22:33 +0000 (16:22 -0800)
commit16d969ca8a42dbfb4b367ef710132b2a274893b6
tree699022c8cbb4f2acd81bfc7a076942f10ae33720
parent95388f732962f2bfa2d27895ab9e7e4fd3ae3efd
[PowerPC] Use ArrayRef (NFC)

This patch teaches getStoreOpcodesForSpillArray and
getLoadOpcodesForSpillArray to return ArrayRef.  This way,
isLoadFromStackSlot and isStoreToStackSlot can use llvm::is_contained.
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.h