[SLP][RISCV] Implement unsigned getMinVectorRegisterBitWidth() for RISCV
Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D108973
This commit is contained in:
parent
199344d832
commit
a78dd726f4
|
@ -73,6 +73,10 @@ public:
|
|||
llvm_unreachable("Unsupported register kind");
|
||||
}
|
||||
|
||||
unsigned getMinVectorRegisterBitWidth() const {
|
||||
return ST->hasStdExtV() ? ST->getMinRVVVectorSizeInBits() : 0;
|
||||
}
|
||||
|
||||
InstructionCost getGatherScatterOpCost(unsigned Opcode, Type *DataTy,
|
||||
const Value *Ptr, bool VariableMask,
|
||||
Align Alignment,
|
||||
|
|
Loading…
Reference in New Issue