[all-commits] [llvm/llvm-project] ff5095: [TTI] Provide a cost for memset_pattern which matc...
Philip Reames via All-commits
all-commits at lists.llvm.org
Wed May 28 09:40:16 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ff5095db93762412a1c09225b18f80b06b99ff68
https://github.com/llvm/llvm-project/commit/ff5095db93762412a1c09225b18f80b06b99ff68
Author: Philip Reames <preames at rivosinc.com>
Date: 2025-05-28 (Wed, 28 May 2025)
Changed paths:
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
A llvm/test/Analysis/CostModel/X86/memset-pattern.ll
Log Message:
-----------
[TTI] Provide a cost for memset_pattern which matches the libcall (#139978)
The motivation is that differences in unrolling were noticed when trying
to switch from the libcall to the intrinsic. There are likely also
differences not yet noticed in other cost based decisions - such as
inlining, and possibly vectorization.
Neither cost is a good, well considered, cost but for the moment, let's
have them be equal to simplify migration. We can come back and refine
this once we have it being exercised by default.
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