diff options
author | Aiden Grossman <agrossman154@yahoo.com> | 2022-07-11 13:12:52 -0700 |
---|---|---|
committer | Mircea Trofin <mtrofin@google.com> | 2022-07-11 13:23:31 -0700 |
commit | f3939dc5093826c05f2a78ce1b0af769cd48fdab (patch) | |
tree | 9223fd91c3b7f601f1dceecdae67805beaeff9f8 /lldb/packages/Python/lldbsuite/test | |
parent | 4dc8cf3a8686b1b517faabdcfd9b85306827d061 (diff) | |
download | llvm-f3939dc5093826c05f2a78ce1b0af769cd48fdab.zip llvm-f3939dc5093826c05f2a78ce1b0af769cd48fdab.tar.gz llvm-f3939dc5093826c05f2a78ce1b0af769cd48fdab.tar.bz2 |
[mlgo] Simplify autogenerated regalloc model
Currently the autogenerated regalloc model will sometimes
output an incorrect LR index to evict instead of the first LR
with with the mask set to 1. This trips an assertion within
the MLRegallocAdvisor that the evicted LR has a mask of 1. This
patch, made possible by https://reviews.llvm.org/D124565, simplifies
the autogenerated model by taking away all unnecessary features and
getting rid of the functions that were previously to mix in all
the necessary inputs so they wouldn't get pruned by the Tensorflow
XLA AOT compiler. This is no longer necessary after the previously
mentioned patch. This also fixes the nondeterministic behavior
that is sometimes observed where the autogenerated model will
simply output 0 instead of the correct index.
Reviewed By: yundiqian
Differential Revision: https://reviews.llvm.org/D129254
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions