[llvm] [Mips] Reduce number of selectVSplatUimm/Simm functions by using templates. (PR #116475)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 16 20:37:05 PST 2024
================
@@ -249,67 +249,67 @@ class SplatComplexPattern<Operand opclass, ValueType ty, int numops, string fn,
}
def vsplati8_uimm3 : SplatComplexPattern<vsplat_uimm3, v16i8, 1,
- "selectVSplatUimm3",
+ "selectVSplatUimm<3>",
----------------
topperc wrote:
I might do some other refactorings here. I'm not sure we need one of these for every element size.
https://github.com/llvm/llvm-project/pull/116475
More information about the llvm-commits
mailing list