[all-commits] [llvm/llvm-project] 5b552d: [LV][VPlan] Prevent calculate cost for skiped inst...
Elvis Wang via All-commits
all-commits at lists.llvm.org
Tue Mar 11 13:16:30 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: 5b552d780ae82b07aaed5703690e6a7cc431ee95
https://github.com/llvm/llvm-project/commit/5b552d780ae82b07aaed5703690e6a7cc431ee95
Author: Elvis Wang <elvis.wang at sifive.com>
Date: 2025-03-11 (Tue, 11 Mar 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/X86/cost-model.ll
Log Message:
-----------
[LV][VPlan] Prevent calculate cost for skiped instructions in precomputeCosts(). (#127966)
Skip calculating instruction costs for exit conditions in
precomputeCosts() when it should be skipped.
Reported from:
https://github.com/llvm/llvm-project/issues/115744#issuecomment-2670479463
Godbolt for reduced test cases: https://godbolt.org/z/fr4YMeqcv
(cherry picked from commit 8009c1fd81ad0b6ac65724d2b134a92db48f8fbf)
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