diff options
author | Sanjay Patel <spatel@rotateright.com> | 2022-11-18 15:56:38 -0500 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2022-11-18 16:03:18 -0500 |
commit | 87debdadaf18f8a5c7e5d563889e10731dc3554d (patch) | |
tree | 9b2307f743935c7493a1235a53e267af40a51db3 /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | ffe05b8f57d97bc4340f791cb386c8d00e0739f2 (diff) | |
download | llvm-87debdadaf18f8a5c7e5d563889e10731dc3554d.zip llvm-87debdadaf18f8a5c7e5d563889e10731dc3554d.tar.gz llvm-87debdadaf18f8a5c7e5d563889e10731dc3554d.tar.bz2 |
[VectorCombine] check instruction type before dispatching to folds
This is no externally visible change intended, but appears to be a
noticeable (surprising) improvement in compile-time based on:
https://llvm-compile-time-tracker.com/compare.php?from=0f3e72e86c8c7c6bf0ec24bf1e2acd74b4123e7b&to=5e8c2026d10e8e2c93c038c776853bed0e7c8fc1&stat=instructions:u
The early returns in the individual fold functions are not good
enough to avoid the overhead of the many "fold*" calls, so this
speeds up the main instruction loop enough to make a difference.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions