diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-03-27 18:10:47 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-03-27 18:10:47 +0000 |
| commit | 0375cd46ef31c026e3346716f4af1ffbf675a1f6 (patch) | |
| tree | 1ca658bf7ec015c3adff8f8769d9034703bc44c8 /llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h | |
| parent | 659f040351c5f7c10501cd36c5d6df00270e671d (diff) | |
| download | bcm5719-llvm-0375cd46ef31c026e3346716f4af1ffbf675a1f6.tar.gz bcm5719-llvm-0375cd46ef31c026e3346716f4af1ffbf675a1f6.zip | |
[Hexagon] Implement TTI::shouldMaximizeVectorBandwidth
llvm-svn: 328648
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h')
| -rw-r--r-- | llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h b/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h index 7adacafa11c..02324d7efc4 100644 --- a/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h +++ b/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h @@ -73,6 +73,7 @@ public: unsigned getMaxInterleaveFactor(unsigned VF); unsigned getRegisterBitWidth(bool Vector) const; unsigned getMinVectorRegisterBitWidth() const; + bool shouldMaximizeVectorBandwidth(bool OptSize) const { return true; } bool supportsEfficientVectorElementLoadStore() { return false; |

