diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-04-11 18:05:17 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-04-11 18:05:17 +0000 |
commit | 7f321d8c24e6e70af594c12cafe7cc2fe132ce67 (patch) | |
tree | 187d01820855b84b94e8204000a30f26ff3ef867 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | b7a747e6a3b86aba0e72c2b8aaff77cd206ded68 (diff) | |
download | bcm5719-llvm-7f321d8c24e6e70af594c12cafe7cc2fe132ce67.tar.gz bcm5719-llvm-7f321d8c24e6e70af594c12cafe7cc2fe132ce67.zip |
[X86] Generalize X86PadShortFunction to work with TargetSchedModel
Pre-commit for D45486, don't rely on itinerary scheduler model to determine latencies for padding, use the generic TargetSchedModel::computeInstrLatency call.
Also, replace hard coded (atom specific) 2*uop creation per padding cycle with a version based on the scheduler model's issue width.
Differential Revision: https://reviews.llvm.org/D45486
llvm-svn: 329834
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions