Skip to content

Commit 3b6f030

Browse files
committed
[VE] Comment out function using VPLegalization
VPLeagalization stuff is reverted by 02c5ba8. So, comment out a VE specific function using VPLegalization to avoid compile errors.
1 parent 595755f commit 3b6f030

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Target/VE/VETargetTransformInfo.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,16 @@ class VETTIImpl : public BasicTTIImplBase<VETTIImpl> {
140140
llvm_unreachable("Unsupported register kind");
141141
}
142142

143+
/// Need to comment out after 02c5ba8679873e878ae7a76fb26808a47940275b
144+
#if 0
143145
/// \returns How the target needs this vector-predicated operation to be
144146
/// transformed.
145147
TargetTransformInfo::VPLegalization
146148
getVPLegalizationStrategy(const VPIntrinsic &PI) const {
147149
using VPLegalization = TargetTransformInfo::VPLegalization;
148150
return VPLegalization(VPLegalization::Legal, VPLegalization::Legal);
149151
}
152+
#endif
150153

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

0 commit comments

Comments
 (0)