[llvm] c2e97ba - [RISCV] Don't enable Interleaved Access Vectorization
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 17 21:38:45 PDT 2021
Author: Luke
Date: 2021-06-18T12:32:30+08:00
New Revision: c2e97ba85e46b4d99b13d651f58179251fce9007
URL: https://github.com/llvm/llvm-project/commit/c2e97ba85e46b4d99b13d651f58179251fce9007
DIFF: https://github.com/llvm/llvm-project/commit/c2e97ba85e46b4d99b13d651f58179251fce9007.diff
LOG: [RISCV] Don't enable Interleaved Access Vectorization
The patch https://reviews.llvm.org/D101469 is intended to enable loop unrolling,
not interleaved access vectorization. The method bool enableInterleavedAccessVectorization()
should not be implemented.
Added:
Modified:
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h b/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
index 0a9e2a11f0d05..95dacb1e6285a 100644
--- a/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
+++ b/llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
@@ -178,7 +178,6 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
}
}
- bool enableInterleavedAccessVectorization() { return true; }
unsigned getMaxInterleaveFactor(unsigned VF) {
return ST->getMaxInterleaveFactor();
}
More information about the llvm-commits
mailing list