diff --git a/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.h b/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.h index d43d2cb0eb124..dc0478daeb6af 100644 --- a/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.h +++ b/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.h @@ -52,6 +52,7 @@ class LoongArchTTIImpl : public BasicTTIImplBase { unsigned getCacheLineSize() const override; unsigned getPrefetchDistance() const override; bool enableWritePrefetching() const override; + bool enableInterleavedAccessVectorization() const override { return true; } // TODO: Implement more hooks to provide TTI machinery for LoongArch. };