Skip to content

Commit 2815d59

Browse files
committed
Rebasing
Change-Id: Iad0539e526fb0fc116217dcbd033f8297fa5ef5f
1 parent 9e92588 commit 2815d59

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

llvm/lib/Analysis/TargetTransformInfo.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -1381,9 +1381,6 @@ bool TargetTransformInfo::isProfitableToSinkOperands(
13811381

13821382
bool TargetTransformInfo::isVectorShiftByScalarCheap(Type *Ty) const {
13831383
return TTIImpl->isVectorShiftByScalarCheap(Ty);
1384-
1385-
bool TargetTransformInfo::useWidenGlobalStrings() const {
1386-
return TTIImpl->useWidenGlobalStrings();
13871384
}
13881385

13891386
unsigned

llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -2664,7 +2664,6 @@ bool ARMTTIImpl::hasArmWideBranch(bool Thumb) const {
26642664
}
26652665
}
26662666

2667-
<<<<<<< HEAD
26682667
/// Check if Ext1 and Ext2 are extends of the same type, doubling the bitwidth
26692668
/// of the vector elements.
26702669
static bool areExtractExts(Value *Ext1, Value *Ext2) {
@@ -2811,8 +2810,6 @@ bool ARMTTIImpl::isProfitableToSinkOperands(Instruction *I,
28112810
return true;
28122811
}
28132812

2814-
bool ARMTTIImpl::useWidenGlobalStrings() const { return UseWidenGlobalStrings; }
2815-
28162813
unsigned ARMTTIImpl::getNumBytesToPadGlobalArray(unsigned Size,
28172814
Type *ArrayType) const {
28182815
if (!UseWidenGlobalArrays) {

llvm/lib/Target/ARM/ARMTargetTransformInfo.h

-2
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,6 @@ class ARMTTIImpl : public BasicTTIImplBase<ARMTTIImpl> {
338338
bool isProfitableToSinkOperands(Instruction *I,
339339
SmallVectorImpl<Use *> &Ops) const;
340340

341-
bool useWidenGlobalStrings() const;
342-
343341
unsigned getNumBytesToPadGlobalArray(unsigned Size, Type *ArrayType) const;
344342

345343
/// @}

0 commit comments

Comments
 (0)