aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2021-12-07 15:07:39 -0800
committerMircea Trofin <mtrofin@google.com>2021-12-08 20:10:58 -0800
commit059e03476cbbb7349b75fa9cc26bc9da0d491529 (patch)
treeb195303bbbca85444a06d6ff3977f8756f2fc642 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parenta556ec8861df920bfaee3057df8aac739aa59b24 (diff)
downloadllvm-059e03476cbbb7349b75fa9cc26bc9da0d491529.zip
llvm-059e03476cbbb7349b75fa9cc26bc9da0d491529.tar.gz
llvm-059e03476cbbb7349b75fa9cc26bc9da0d491529.tar.bz2
[NFC][mlgo] Generalize model runner interface
This prepares it for the regalloc work. Part of it is making model evaluation accross 'development' and 'release' scenarios more reusable. This patch: - extends support to tensors of any shape (not just scalars, like we had in the inliner -Oz case). While the tensor shape can be anything, we assume row-major layout and expose the tensor as a buffer. - exposes the NoInferenceModelRunner, which we use in the 'development' mode to keep the evaluation code path consistent and simplify logging, as we'll want to reuse it in the regalloc case. Differential Revision: https://reviews.llvm.org/D115306
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions