llvm-project
8e109d4c - [RISCV][GISel] Add GlobalISel equivalents of the sewNsimm5 complex patterns (#247920)

Commit
1 day ago
[RISCV][GISel] Add GlobalISel equivalents of the sewNsimm5 complex patterns (#247920) Add GIComplexPatternEquiv records for sew8simm5 through sew64simm5 and implement selectRVVSimm5 in the GlobalISel instruction selector, mirroring RISCVDAGToDAGISel::selectRVVSimm5. The importer can now use the patterns that need them, so constant splats that fit in a 5-bit signed immediate select to vmv.v.i instead of li + vmv.v.x. Part of #246831
Author
Parents
Loading