diff options
author | Sam Parker <sam.parker@arm.com> | 2020-06-05 10:09:56 +0100 |
---|---|---|
committer | Sam Parker <sam.parker@arm.com> | 2020-06-05 10:13:38 +0100 |
commit | 9303546b423f38d5693565623edcfb832ad8acd5 (patch) | |
tree | 4cbcf9524a14817ba62db3a597678a2db9f4cc94 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4ffe6bd8a7b0775626bd250f6b67c2254d6d6e74 (diff) | |
download | llvm-9303546b423f38d5693565623edcfb832ad8acd5.zip llvm-9303546b423f38d5693565623edcfb832ad8acd5.tar.gz llvm-9303546b423f38d5693565623edcfb832ad8acd5.tar.bz2 |
[CostModel] Unify getMemoryOpCost
Use getMemoryOpCost from the generic implementation of getUserCost
and have getInstructionThroughput return the result of that for loads
and stores.
This also means that the X86 implementation of getUserCost can be
removed with the functionality folded into its getMemoryOpCost.
Differential Revision: https://reviews.llvm.org/D80984
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions