[all-commits] [llvm/llvm-project] e3fbf1: [SLP] getSpillCost - fully populate IntrinsicCostA...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Mon Feb 3 01:59:17 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e3fbf19eb4428cac03c0e7301512f11f8947d743
https://github.com/llvm/llvm-project/commit/e3fbf19eb4428cac03c0e7301512f11f8947d743
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2025-02-03 (Mon, 03 Feb 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP] getSpillCost - fully populate IntrinsicCostAttributes to improve cost analysis. (#124129) (REAPPLIED)
We were only constructing the IntrinsicCostAttributes with the arg type info, and not the args themselves, preventing more detailed cost analysis (constant / uniform args etc.)
Just pass the whole IntrinsicInst to the constructor and let it resolve everything it can.
Noticed while having yet another attempt at #63980
Reapplied cleanup now that #125223 and #124984 have landed.
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