diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2019-04-10 16:24:48 +0000 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2019-04-10 16:24:48 +0000 |
commit | 0e66db5d771898273ea04e5e067859b9907f49e6 (patch) | |
tree | a31d8ec84cb0f1829c016e2db4f3ee4465f9a3a9 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 37d8d55823b6182dc9772130a541c29945aa4822 (diff) | |
download | llvm-0e66db5d771898273ea04e5e067859b9907f49e6.zip llvm-0e66db5d771898273ea04e5e067859b9907f49e6.tar.gz llvm-0e66db5d771898273ea04e5e067859b9907f49e6.tar.bz2 |
Improve compile-time performance in computeKnownBitsFromAssume.
This patch changes the order of pattern matching by first testing
a compare instruction's predicate, before doing the pattern
match for the whole expression tree.
Patch by Paul Walker.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D60504
llvm-svn: 358097
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions