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:
parent
63ed8031a5
commit
c85f7fbfe3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user