We can apply the same logic as for multiply since a left shift is just a multiply by a power of two. Note that since shl is not commutative, we do need to be careful to match sure that the splat is the RHS of the instruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo