aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Sherwood <david.sherwood@arm.com>2020-11-27 08:36:28 +0000
committerDavid Sherwood <david.sherwood@arm.com>2021-01-19 09:08:40 +0000
commitc3ce2627949eee3b5d3012db78f670919a49b35d (patch)
tree1959ee2b88f996e8c1ed9c055579e2b1994b5a8c /flang/lib/Frontend/CompilerInvocation.cpp
parent7e1d2224b42b411acf2d3cb20e3cf5a564ef79bb (diff)
downloadllvm-c3ce2627949eee3b5d3012db78f670919a49b35d.zip
llvm-c3ce2627949eee3b5d3012db78f670919a49b35d.tar.gz
llvm-c3ce2627949eee3b5d3012db78f670919a49b35d.tar.bz2
[NFC] Make remaining cost functions in LoopVectorize.cpp use InstructionCost
A previous patch has already changed getInstructionCost to return an InstructionCost type. This patch changes the other various getXXXCost functions to return an InstructionCost too. This is a non-functional change - I've added a few asserts that the costs are valid in places where we're selecting between vector call and intrinsic costs. However, since we don't yet return invalid costs from any of the TTI implementations these asserts should not fire. 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 Differential Revision: https://reviews.llvm.org/D94065
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions