diff --git a/lib/Target/VE/VETargetTransformInfo.h b/lib/Target/VE/VETargetTransformInfo.h index 6730c43258d..6e6f4d24907 100644 --- a/lib/Target/VE/VETargetTransformInfo.h +++ b/lib/Target/VE/VETargetTransformInfo.h @@ -64,6 +64,14 @@ public: llvm_unreachable("Unsupported register kind"); } + /// \returns How the target needs this vector-predicated operation to be + /// transformed. + TargetTransformInfo::VPLegalization + getVPLegalizationStrategy(const VPIntrinsic &PI) const { + using VPLegalization = TargetTransformInfo::VPLegalization; + return VPLegalization(VPLegalization::Legal, VPLegalization::Legal); + } + unsigned getMinVectorRegisterBitWidth() const { // TODO report vregs once vector isel is stable. return 0;