diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-08-22 20:15:04 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-08-22 20:15:04 +0000 |
| commit | 2ff9aa15e46f92c6325e40023fa7581c2becddd0 (patch) | |
| tree | a236e279c9d13aaa08941726a7297acabc31f8d3 /llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h | |
| parent | c11e2b94700e98606150db233e53b220431a5be2 (diff) | |
| download | bcm5719-llvm-2ff9aa15e46f92c6325e40023fa7581c2becddd0.tar.gz bcm5719-llvm-2ff9aa15e46f92c6325e40023fa7581c2becddd0.zip | |
[Hexagon] Enable interleaving in loop vectorizer
llvm-svn: 340447
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h')
| -rw-r--r-- | llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h b/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h index a232f99fc40..2c03cd268ff 100644 --- a/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h +++ b/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h @@ -98,6 +98,9 @@ public: bool prefersVectorizedAddressing() { return false; } + bool enableInterleavedAccessVectorization() { + return true; + } unsigned getScalarizationOverhead(Type *Ty, bool Insert, bool Extract); unsigned getOperandsScalarizationOverhead(ArrayRef<const Value*> Args, |

