Skip to content

Commit

Permalink
[VE] Comment out function using VPLegalization
Browse files Browse the repository at this point in the history
VPLeagalization stuff is reverted by 02c5ba8.
So, comment out a VE specific function using VPLegalization to avoid compile
errors.
  • Loading branch information
kaz7 committed Jul 12, 2021
1 parent 595755f commit 3b6f030
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llvm/lib/Target/VE/VETargetTransformInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,16 @@ class VETTIImpl : public BasicTTIImplBase<VETTIImpl> {
llvm_unreachable("Unsupported register kind");
}

/// Need to comment out after 02c5ba8679873e878ae7a76fb26808a47940275b
#if 0
/// \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);
}
#endif

unsigned getMinVectorRegisterBitWidth() const {
return !makeVectorOpsExpensive() && (simd() || enableVPU()) ? 256 * 64 : 0;
Expand Down

0 comments on commit 3b6f030

Please sign in to comment.