aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
diff options
context:
space:
mode:
authorBen Shi <powerman1st@163.com>2021-07-22 10:26:52 +0800
committerBen Shi <powerman1st@163.com>2021-07-22 10:28:41 +0800
commit9e5c5afc7ee24ace168418138c99dcede357cd50 (patch)
treeab119e2fc505215f1fad1c34fd30f8bbe11b5c2e /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
parent6efb3220b47249df0fe0713e1f1e617d8f1000ba (diff)
downloadllvm-9e5c5afc7ee24ace168418138c99dcede357cd50.zip
llvm-9e5c5afc7ee24ace168418138c99dcede357cd50.tar.gz
llvm-9e5c5afc7ee24ace168418138c99dcede357cd50.tar.bz2
[RISCV] Optimize multiplication in the zba extension with SH*ADD
This patch make the following optimization. (mul x, 3 * power_of_2) -> (SLLI (SH1ADD x, x), bits) (mul x, 5 * power_of_2) -> (SLLI (SH2ADD x, x), bits) (mul x, 9 * power_of_2) -> (SLLI (SH3ADD x, x), bits) Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D105796
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions