[all-commits] [llvm/llvm-project] d3afa1: [LV] Don't scalarize loads that need predication i...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Wed Feb 11 12:52:42 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d3afa171ee236dfef4b7cd4b4dd0b0fb165a48cc
https://github.com/llvm/llvm-project/commit/d3afa171ee236dfef4b7cd4b4dd0b0fb165a48cc
Author: Florian Hahn <flo at fhahn.com>
Date: 2026-02-11 (Wed, 11 Feb 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
Log Message:
-----------
[LV] Don't scalarize loads that need predication in legacy CM.
The legacy cost model tries to scalarize loads that are used as
pointers. Skip if the load would need predicating when scalarized,
because that would incur very high costs, see useEmulatedMaskMemRefHack.
Fixes https://github.com/llvm/llvm-project/issues/180780.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list