aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-09-04 22:20:52 -0700
committerCraig Topper <craig.topper@sifive.com>2022-09-04 22:35:16 -0700
commite529c0a2a03fb4eb0ddffafe0ddc7a02059f74cc (patch)
treef285ceb7005b1d0a615d08fa34a8d77967b1b33f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parent94ca04190573908a811248559668a9b42b537ec1 (diff)
downloadllvm-e529c0a2a03fb4eb0ddffafe0ddc7a02059f74cc.zip
llvm-e529c0a2a03fb4eb0ddffafe0ddc7a02059f74cc.tar.gz
llvm-e529c0a2a03fb4eb0ddffafe0ddc7a02059f74cc.tar.bz2
[TargetLowering] Use ComputeMaxSignificantBits instead of ComputeNumSignBits in expandMUL_LOHI. NFC
The way ComputeNumSignBits was being used was only correct if OuterBitSize is exactly 2x InnerBitSize. Which is always true, but not obviously so. Comparing ComputeMaxSignificantBits to InnerBitSize feels more correct.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions