diff --git a/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp b/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp --- a/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp +++ b/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp @@ -1772,7 +1772,7 @@ bool ARMTTIImpl::isLoweredToCall(const Function *F) { if (!F->isIntrinsic()) - BaseT::isLoweredToCall(F); + return BaseT::isLoweredToCall(F); // Assume all Arm-specific intrinsics map to an instruction. if (F->getName().startswith("llvm.arm"))