[llvm] [LAA] Avoid unprofitable unit-stride versioning (PR #225331)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 00:04:16 PDT 2026
================
----------------
artagnon wrote:
```suggestion
if (match(V, m_scev_Mul(m_SCEVConstant(), m_SCEV(m_scev_IntegralCast(m_SCEVUnknown(U)))))
return U;
```
I think this should be sufficient, as we don't delay getting the StrideBase any longer? I think you can introduce m_scev_IntegralCast, as the other PR shows?
https://github.com/llvm/llvm-project/pull/225331
More information about the llvm-commits
mailing list