1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[Hexagon] Return 1 instead of 0 from getMaxInterleaveFactor

This commit is contained in:
Krzysztof Parzyszek 2020-10-09 09:34:24 -05:00
parent 45b43d4e29
commit 9ee6426bce

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 {