aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-12-06 09:25:20 -0800
committerCraig Topper <craig.topper@sifive.com>2022-12-06 09:25:20 -0800
commitce66f4d0a6e0f5e756fc06992bb143d7bf6def66 (patch)
treee4773fadc58a5748e30ffb771d098a98879cd5d2 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parent8abe7b11f74bea63d3134c144137b72146da0c7b (diff)
downloadllvm-ce66f4d0a6e0f5e756fc06992bb143d7bf6def66.zip
llvm-ce66f4d0a6e0f5e756fc06992bb143d7bf6def66.tar.gz
llvm-ce66f4d0a6e0f5e756fc06992bb143d7bf6def66.tar.bz2
[RISCV] Restrict when RISCVMatInt will retry SLLI as a last step. NFC
The main algorithm will already end with a SLLI when there are 12 or more trailing zeros. We only need to retry when there are less than 12 trailing zeros since the main algorithm will pick an ADDI or ADDIW at the end for those cases.
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions