diff options
author | Anton Sidorenko <anton.sidorenko@syntacore.com> | 2023-02-14 13:32:10 +0300 |
---|---|---|
committer | Anton Sidorenko <anton.sidorenko@syntacore.com> | 2023-02-17 13:17:22 +0300 |
commit | 2693efa8a5bcd5196264c54f36f7fe6df6799420 (patch) | |
tree | 193e5883be6504e21a3f2675fa15ae290eb30c62 /libcxx/include/algorithm | |
parent | e6e0ba8d20b45e617d6680491bba16e5ed645207 (diff) | |
download | llvm-2693efa8a5bcd5196264c54f36f7fe6df6799420.zip llvm-2693efa8a5bcd5196264c54f36f7fe6df6799420.tar.gz llvm-2693efa8a5bcd5196264c54f36f7fe6df6799420.tar.bz2 |
[MachineCombiner] Support local strategy for traces
For in-order cores MachineCombiner makes better decisions when the critical path
is calculated only for the current basic block and does not take into account
other blocks from the trace.
This patch adds a virtual method to TargetInstrInfo to allow each target decide
which strategy to use.
Depends on D140541
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D140542
Diffstat (limited to 'libcxx/include/algorithm')
0 files changed, 0 insertions, 0 deletions