diff options
author | Marcello Maggioni <hayarms@gmail.com> | 2018-07-13 16:36:14 +0000 |
---|---|---|
committer | Marcello Maggioni <hayarms@gmail.com> | 2018-07-13 16:36:14 +0000 |
commit | 218b6a2a2ae682f0e2b42a9f76619a382b723430 (patch) | |
tree | 8b428fa81c8c7ef4c01f369ebe89e1760120ce5f /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 9cad502555b5b0ad5dc3766f7d363db939387fd1 (diff) | |
download | llvm-218b6a2a2ae682f0e2b42a9f76619a382b723430.zip llvm-218b6a2a2ae682f0e2b42a9f76619a382b723430.tar.gz llvm-218b6a2a2ae682f0e2b42a9f76619a382b723430.tar.bz2 |
[Tablegen] Optimize isSubsetOf() in AsmMatcherEmitter.cpp. NFC
isSubsetOf() could be very slow if the hierarchy of the RegisterClasses
of the target is very complicated.
This is mainly caused by the fact that isSubset() is called
multiple times over the same SuperClass of a register class
if this ends up being the super class of a register class
from multiple paths.
Differential Revision: https://reviews.llvm.org/D49124
llvm-svn: 337020
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions