[LoongArch] Optimize multiplication with immediates
Optimize (mul x, imm) to (ADD (SLLI x, s0), (SLLI x, s1)) or (SUB (SLLI x, s0), (SLLI x, s1)) if possible. Reviewed By: SixWeining Differential Revision: https://reviews.llvm.org/D147692
parent
91212e02
Please register or sign in to comment