[NFC][Metadata] Change MDNode::operands()'s return type from op_range to ArrayRef...
authorDawid Jurczak <dawid_jurek@vp.pl>
Thu, 14 Jul 2022 15:20:21 +0000 (17:20 +0200)
committerDawid Jurczak <dawid_jurek@vp.pl>
Thu, 14 Jul 2022 15:22:32 +0000 (17:22 +0200)
commitd71128d97df9986e98c3d2b56e5629f5e36e4c45
tree0cceb01b9ce56c5fc4e09cdf820f00342a4f84d6
parent230c8c56f21cfe4e23a24793f3137add1af1d1f0
[NFC][Metadata] Change MDNode::operands()'s return type from op_range to ArrayRef<MDOperand>

This patch is https://reviews.llvm.org/D129468 follow-up and address one of comment
coming from that review: https://reviews.llvm.org/D129468#3643295

Differential Revision: https://reviews.llvm.org/D129565
llvm/include/llvm/IR/Metadata.h
llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
llvm/lib/Linker/IRMover.cpp