summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-03-27 18:10:47 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-03-27 18:10:47 +0000
commit0375cd46ef31c026e3346716f4af1ffbf675a1f6 (patch)
tree1ca658bf7ec015c3adff8f8769d9034703bc44c8 /llvm/lib
parent659f040351c5f7c10501cd36c5d6df00270e671d (diff)
downloadbcm5719-llvm-0375cd46ef31c026e3346716f4af1ffbf675a1f6.tar.gz
bcm5719-llvm-0375cd46ef31c026e3346716f4af1ffbf675a1f6.zip
[Hexagon] Implement TTI::shouldMaximizeVectorBandwidth
llvm-svn: 328648
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h1
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;
OpenPOWER on IntegriCloud