diff options
author | Craig Topper <craig.topper@sifive.com> | 2025-07-22 21:10:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-22 21:10:52 -0700 |
commit | c9714d20350f5895f292794eb82bce4231b9472b (patch) | |
tree | 9e1ca025733374fd0a54d6b6152ad6a424df32da /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | 23eef9a7c40f15fcf3cd393e7dc18f48c516bf7e (diff) | |
download | llvm-c9714d20350f5895f292794eb82bce4231b9472b.zip llvm-c9714d20350f5895f292794eb82bce4231b9472b.tar.gz llvm-c9714d20350f5895f292794eb82bce4231b9472b.tar.bz2 |
[RISCV] Add profitability checks to SelectAddrRegRegScale. (#150135)
-Only fold if the ADD can be folded into all uses.
-Don't reassociate an ADDI if the shl+add can be a shxadd or similar
instruction.
-Only reassociate a single ADDI. If there are 2 addis it's the same
number of instructions as shl+add. If there are more than 2 that it
would increase instructions over folding the addis into the
loads/stores.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions