diff options
author | Mingming Liu <mingmingl@google.com> | 2022-08-03 14:20:30 -0700 |
---|---|---|
committer | Mingming Liu <mingmingl@google.com> | 2022-08-04 12:58:25 -0700 |
commit | bc8f2f36496a3fda32943f261eebb9b053e44016 (patch) | |
tree | 3f6c8454f247858e698ac1771063f84becba18d2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6e193b5cbb6d7591280e4d03a658bb11f9fcd4d9 (diff) | |
download | llvm-bc8f2f36496a3fda32943f261eebb9b053e44016.zip llvm-bc8f2f36496a3fda32943f261eebb9b053e44016.tar.gz llvm-bc8f2f36496a3fda32943f261eebb9b053e44016.tar.bz2 |
[AArch64][TTI][NFC] Overload method 'getVectorInstrCost' to provide vector instruction itself, as a context information for cost estimation.
1) Overloaded (instruction-based) method is a wrapper around the current (opcode-based) method.
2) This patch also changes a few callsites (VectorCombine.cpp,
SLPVectorizer.cpp, CodeGenPrepare.cpp) to call the overloaded method.
3) This is a split of D128302.
Differential Revision: https://reviews.llvm.org/D131114
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions