[all-commits] [llvm/llvm-project] f4c7cc: [LV] Use more precise isPredicatedInst in legacy C...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sun Jul 13 11:56:44 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f4c7cc26b65912c9951f0cb09b3a5ba082096687
https://github.com/llvm/llvm-project/commit/f4c7cc26b65912c9951f0cb09b3a5ba082096687
Author: Florian Hahn <flo at fhahn.com>
Date: 2025-07-13 (Sun, 13 Jul 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Transforms/LoopVectorize/AArch64/predicated-costs.ll
Log Message:
-----------
[LV] Use more precise isPredicatedInst in legacy CCH (NFC).
Legal::isMaskRequired may be overly conservative and also return true
when no mask is actually required.
Use isPredicatedInst from the cost model instead, which fixes a
cost-model divergence between legacy and VPlan cost model where the
legacy cost model incorrectly assumed some loads were predicated.
Fixes https://github.com/llvm/llvm-project/issues/148431.
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