diff options
| author | Craig Topper <craig.topper@sifive.com> | 2022-01-20 10:36:21 -0800 |
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2022-01-20 10:45:17 -0800 |
| commit | 9abc593e98891b4cd8ffd2ca308cabe6ea5d142f (patch) | |
| tree | 6d26cf360a5224503a8310a9416622bd9a63b5b4 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp | |
| parent | eb6c6e60585df1a05c11a7b2625cbecffb88e085 (diff) | |
| download | llvm-9abc593e98891b4cd8ffd2ca308cabe6ea5d142f.zip llvm-9abc593e98891b4cd8ffd2ca308cabe6ea5d142f.tar.gz llvm-9abc593e98891b4cd8ffd2ca308cabe6ea5d142f.tar.bz2 | |
[TargetLowering][InstCombine] Simplify BSwap demanded bits code a little. NFC
Use alignDown instead of &= ~7.
Replace ResultBit with NLZ. (BitWidth - NLZ - NTZ == 8) so
(BitWidth - NTZ - 8 == NLZ).
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D117804
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.cpp')
0 files changed, 0 insertions, 0 deletions
