aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2025-07-15 19:36:43 -0700
committerCraig Topper <craig.topper@sifive.com>2025-07-15 22:43:56 -0700
commitdbb6ed76317a52ada7045611649e50c2afe51496 (patch)
treee254b69cca865057c060632bf38db7dc4e968e99 /clang/lib/AST/ByteCode/Compiler.cpp
parent6d0f573535e27171e4ef927baeab3edc928beebb (diff)
downloadllvm-dbb6ed76317a52ada7045611649e50c2afe51496.zip
llvm-dbb6ed76317a52ada7045611649e50c2afe51496.tar.gz
llvm-dbb6ed76317a52ada7045611649e50c2afe51496.tar.bz2
[RISCV] Refactor SelectAddrRegRegScale. NFC
Rename UnwrapShl->SelectShl. Make it only responsible for matching a SHL by constant. Handle the fallback case of reg+reg with no scale outside of SelectShl. Reorder the check so RHS is checked for shift first. The base pointer is most likely on the LHS. It's very unlikely both operands are shifts. This is preparation for adding better costing decisions to this code.
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions