aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectExpression.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-09-23 11:16:34 -0700
committerCraig Topper <craig.topper@sifive.com>2021-09-23 11:29:04 -0700
commit4a69551d663e42453c3ad5ab799326fe2ddc9657 (patch)
tree0cb02b03120566d923a9a00a125b762eab80dc63 /lldb/source/Commands/CommandObjectExpression.cpp
parent19734ae6f05498a75d4bb3960be06f5d704f8528 (diff)
downloadllvm-4a69551d663e42453c3ad5ab799326fe2ddc9657.zip
llvm-4a69551d663e42453c3ad5ab799326fe2ddc9657.tar.gz
llvm-4a69551d663e42453c3ad5ab799326fe2ddc9657.tar.bz2
[RISCV] Add more isel optimizations for (and (shr x, c2), c1).
Turn (and (shr x, c2), c1) -> (slli (srli x, c2+c3), c3) if c1 is a shifted mask with c2 leading zeros and c3 trailing zeros. When the leading zeros is C2+32 we can use SRLIW in place of SRLI.
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
0 files changed, 0 insertions, 0 deletions