[llvm] r244130 - [Hexagon] Edit a comment. NFC
Krzysztof Parzyszek
kparzysz at codeaurora.org
Wed Aug 5 14:08:26 PDT 2015
Author: kparzysz
Date: Wed Aug 5 16:08:26 2015
New Revision: 244130
URL: http://llvm.org/viewvc/llvm-project?rev=244130&view=rev
Log:
[Hexagon] Edit a comment. NFC
Modified:
llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
Modified: llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp?rev=244130&r1=244129&r2=244130&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp Wed Aug 5 16:08:26 2015
@@ -34,11 +34,5 @@ void HexagonTTIImpl::getUnrollingPrefere
}
unsigned HexagonTTIImpl::getNumberOfRegisters(bool vector) const {
- if (vector) {
- // While its true that v60 has vector registers,
- // we do not want to advertise it through this API
- // as it enables LOOP and SLP vectorization.
- return 0;
- }
- return 32;
+ return vector ? 0 : 32;
}
More information about the llvm-commits
mailing list