[all-commits] [llvm/llvm-project] bb60dd: [VPlan] Only use force-target-instruction-cost for...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Tue Jul 23 13:05:49 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bb60dd391f53fe297d7d1b3e5269f44ab91255cc
https://github.com/llvm/llvm-project/commit/bb60dd391f53fe297d7d1b3e5269f44ab91255cc
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-07-23 (Tue, 23 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
A llvm/test/Transforms/LoopVectorize/SystemZ/force-target-instruction-cost.ll
Log Message:
-----------
[VPlan] Only use force-target-instruction-cost for recipes with insts.
To match the behavior of the legacy cost model, only apply
-force-target-instruction-cost to recipes with underlying instructions
for now, as only original IR instructions are considered by the legacy
cost model.
This fixes a difference between legacy and VPlan based cost model,
triggering the verification assertion, reported by @JonPsson1.
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