[Hexagon] Return 1 instead of 0 from getMaxInterleaveFactor

This commit is contained in:
Krzysztof Parzyszek 2020-10-09 09:34:24 -05:00
parent 080e6bc205
commit 99cafe0094
1 changed files with 1 additions and 1 deletions

View File

@ -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 {