[ARM] Add missing return to ARMTTIImpl::isLoweredToCall.
authorCraig Topper <craig.topper@sifive.com>
Thu, 7 Apr 2022 19:52:53 +0000 (12:52 -0700)
committerCraig Topper <craig.topper@sifive.com>
Thu, 7 Apr 2022 19:52:54 +0000 (12:52 -0700)
commit65942554e23ffcc5a48bb48d686b2f2986a59310
tree1cd9961374a2c9c1f4bf3deaf93bb7ff58ee85cd
parent2cb3d28b173570c4b34c5ce85bc18713670d07e1
[ARM] Add missing return to ARMTTIImpl::isLoweredToCall.

I assume we meant to return the result of the call to
BaseT::isLoweredToCall(F).

This might not be a functional change in practice because it would
still hit the default case in the switch and call
BaseT::isLoweredToCall(F) at the end.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D123333
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp