[llvm] [LAA] Add initial support for non-power-of-2 store-load forwarding distance (PR #137873)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 2 05:08:54 PDT 2025
================
@@ -2985,8 +3023,9 @@ LoopAccessInfo::LoopAccessInfo(Loop *L, ScalarEvolution *SE,
MaxTargetVectorWidthInBits =
TTI->getRegisterBitWidth(TargetTransformInfo::RGK_FixedWidthVector) * 2;
- DepChecker = std::make_unique<MemoryDepChecker>(*PSE, L, SymbolicStrides,
- MaxTargetVectorWidthInBits);
+ DepChecker = std::make_unique<MemoryDepChecker>(
+ *PSE, L, SymbolicStrides, MaxTargetVectorWidthInBits,
+ TTI && TTI->hasActiveVectorLength(0, nullptr, Align()));
----------------
fhahn wrote:
I think this needs a rebase
https://github.com/llvm/llvm-project/pull/137873
More information about the llvm-commits
mailing list