forked from OSchip/llvm-project
[GlobalISel] Remove valueIsSplit (NFC)
The last use was removed on Jun 27, 2019 in commit
8138996128
.
This commit is contained in:
parent
20cf77f776
commit
61abcb0b37
|
@ -247,12 +247,6 @@ private:
|
||||||
|
|
||||||
bool translateInlineAsm(const CallBase &CB, MachineIRBuilder &MIRBuilder);
|
bool translateInlineAsm(const CallBase &CB, MachineIRBuilder &MIRBuilder);
|
||||||
|
|
||||||
/// Returns true if the value should be split into multiple LLTs.
|
|
||||||
/// If \p Offsets is given then the split type's offsets will be stored in it.
|
|
||||||
/// If \p Offsets is not empty it will be cleared first.
|
|
||||||
bool valueIsSplit(const Value &V,
|
|
||||||
SmallVectorImpl<uint64_t> *Offsets = nullptr);
|
|
||||||
|
|
||||||
/// Common code for translating normal calls or invokes.
|
/// Common code for translating normal calls or invokes.
|
||||||
bool translateCallBase(const CallBase &CB, MachineIRBuilder &MIRBuilder);
|
bool translateCallBase(const CallBase &CB, MachineIRBuilder &MIRBuilder);
|
||||||
|
|
||||||
|
|
|
@ -2950,15 +2950,6 @@ void IRTranslator::finishPendingPhis() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IRTranslator::valueIsSplit(const Value &V,
|
|
||||||
SmallVectorImpl<uint64_t> *Offsets) {
|
|
||||||
SmallVector<LLT, 4> SplitTys;
|
|
||||||
if (Offsets && !Offsets->empty())
|
|
||||||
Offsets->clear();
|
|
||||||
computeValueLLTs(*DL, *V.getType(), SplitTys, Offsets);
|
|
||||||
return SplitTys.size() > 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool IRTranslator::translate(const Instruction &Inst) {
|
bool IRTranslator::translate(const Instruction &Inst) {
|
||||||
CurBuilder->setDebugLoc(Inst.getDebugLoc());
|
CurBuilder->setDebugLoc(Inst.getDebugLoc());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue