1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

[VE] VP intrinsics are legal

This commit is contained in:
Simon Moll 2021-04-30 15:46:59 +02:00
parent 63ed8031a5
commit c85f7fbfe3

View File

@ -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;