forked from OSchip/llvm-project
[Hexagon] Return 1 instead of 0 from getMaxInterleaveFactor
This commit is contained in:
parent
080e6bc205
commit
99cafe0094
|
@ -108,7 +108,7 @@ unsigned HexagonTTIImpl::getNumberOfRegisters(bool Vector) const {
|
|||
}
|
||||
|
||||
unsigned HexagonTTIImpl::getMaxInterleaveFactor(unsigned VF) {
|
||||
return useHVX() ? 2 : 0;
|
||||
return useHVX() ? 2 : 1;
|
||||
}
|
||||
|
||||
unsigned HexagonTTIImpl::getRegisterBitWidth(bool Vector) const {
|
||||
|
|
Loading…
Reference in New Issue