[SVE] Refactor complex immediate pattern used by CPY/DUP.
SelectSVE8BitLslImm didn't account for constant values that have a larger bit width than the result vector's element type. This only seems to affect a single corner case when lowering fixed length vectors but the code itself is also not consistent with how other related complex patterns are implemented so I've taken the opportunity to refactor the code. Differential Revision: https://reviews.llvm.org/D120440
Loading
Please sign in to comment