aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2025-02-03 09:40:31 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2025-02-03 09:55:41 +0000
commite3fbf19eb4428cac03c0e7301512f11f8947d743 (patch)
treebb92aa1de80394dac8ffe2775671f915a3128ca6 /clang/lib/CodeGen/CodeGenModule.cpp
parent3ab1880f8e954a4dcb39bb262587d55537b9d500 (diff)
downloadllvm-e3fbf19eb4428cac03c0e7301512f11f8947d743.zip
llvm-e3fbf19eb4428cac03c0e7301512f11f8947d743.tar.gz
llvm-e3fbf19eb4428cac03c0e7301512f11f8947d743.tar.bz2
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions