diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2021-01-22 21:33:51 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2021-04-13 14:20:59 +0100 |
commit | bd86824d9865bea90770abd94076f7ba44a33473 (patch) | |
tree | 596b713d5b774412e2c15617c843a590f80923d9 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | fd1f8a54628a4952c836c52171dfb18683ac8574 (diff) | |
download | llvm-bd86824d9865bea90770abd94076f7ba44a33473.zip llvm-bd86824d9865bea90770abd94076f7ba44a33473.tar.gz llvm-bd86824d9865bea90770abd94076f7ba44a33473.tar.bz2 |
[TTI] NFC: Change getArithmeticReductionCost to return InstructionCost
This patch migrates the TTI cost interfaces to return an InstructionCost.
See this patch for the introduction of the type: https://reviews.llvm.org/D91174
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html
This patch is practically NFC, with the exception of an AArch64 SVE related
cost-model change, where we can now return an Invalid cost instead of some
bogus number.
Reviewed By: dmgreen
Differential Revision: https://reviews.llvm.org/D100201
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions