[NFC] Cleanup off by one indexes in CallBase::dataOperandHasImpliedAttr()
authorArthur Eubanks <aeubanks@google.com>
Tue, 7 Sep 2021 20:21:28 +0000 (13:21 -0700)
committerArthur Eubanks <aeubanks@google.com>
Tue, 7 Sep 2021 21:52:12 +0000 (14:52 -0700)
commiteeabd90efd2697d186adf4ef9200fb01a5c67de2
treee89a409209d3e4137f29035b3ddb4067233eaa1c
parent43a263f570dbe88524ab3689bc994df60c531310
[NFC] Cleanup off by one indexes in CallBase::dataOperandHasImpliedAttr()

Verified that previously nothing was calling dataOperandHasImpliedAttr()
with AttributeList::ReturnIndex even though we had a code path for it.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D109390
llvm/include/llvm/IR/InstrTypes.h