[llvm] LAA: fix logic for MaxTargetVectorWidth (PR #125487)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 13:11:55 PST 2025


https://github.com/fhahn approved this pull request.

LGTM, thanks! Left one more comment inline to check if COMMON could be used there.

Might be good to clarify in the commit message/title that this  now uses the fixed register width if scalable vectorization is not enabled (via TargetTransformInfo::enableScalableVectorization) and that this improves results if there are scalable vector registers, but they shouldn't be used.


https://github.com/llvm/llvm-project/pull/125487


More information about the llvm-commits mailing list