Skip to content

Commit 854b3e6

Browse files
committed
[VE] Solve merge conflict
1 parent ea881be commit 854b3e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/lib/Target/VE/VETargetTransformInfo.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@ class VETTIImpl : public BasicTTIImplBase<VETTIImpl> {
223223

224224
bool supportsEfficientVectorElementLoadStore() { return false; }
225225

226+
// Following implementation conflicts with dd2dbf7.
227+
// Also following code seems incorrect. Therefore, removing them.
228+
#if 0
226229
unsigned getScalarizationOverhead(VectorType *Ty, const APInt &DemandedElts,
227230
bool Insert, bool Extract) const {
228231
auto VecTy = dyn_cast<FixedVectorType>(Ty);
@@ -235,6 +238,7 @@ class VETTIImpl : public BasicTTIImplBase<VETTIImpl> {
235238
unsigned VF) const {
236239
return Args.size() * VF;
237240
}
241+
#endif
238242

239243
unsigned getMemoryOpCost(unsigned Opcode, Type *Src, Align Alignment,
240244
unsigned AddressSpace,

0 commit comments

Comments
 (0)